package cn.wetcland.mob;

import cn.util.TCUtil;
import org.bukkit.Material;
import org.bukkit.attribute.Attribute;
import org.bukkit.attribute.AttributeModifier;
import org.bukkit.enchantments.Enchantment;
import org.bukkit.entity.*;
import org.bukkit.inventory.EntityEquipment;
import org.bukkit.inventory.ItemStack;
import org.bukkit.inventory.meta.ItemMeta;

public class LevelMonster {

    private Mob monster;
    private String monsterName;

    public LevelMonster() {

    }

    public LevelMonster(Mob monster) {
        this.monster = monster;
        this.monsterName = TCUtil.getMonsterName(monster);
        if (monsterName.equals("NULL")) return;
        System.out.println(monsterName);
    }

    public void modifyOf1() {
        // 皮革头盔
        ItemStack leather_helmet = new ItemStack(Material.LEATHER_HELMET);
        // 皮革盔甲
        ItemStack leather_chestplate = new ItemStack(Material.LEATHER_CHESTPLATE);
        // 皮革护腿
        ItemStack leather_leggings = new ItemStack(Material.LEATHER_LEGGINGS);
        // 皮革靴子
        ItemStack leather_boots = new ItemStack(Material.LEATHER_BOOTS);
        // 钻石剑
        ItemStack diamond_sword = new ItemStack(Material.DIAMOND_SWORD);
        monster.setCustomName("§c[一阶] " + monsterName);
        monster.setCustomNameVisible(true);
        EntityEquipment equipment = monster.getEquipment();

        if (monster instanceof PigZombie) {
            // 耐久 1 保护1
            leather_helmet.addEnchantment(Enchantment.DURABILITY, 1);
            leather_helmet.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 1);
            // 耐久 1 保护1
            leather_chestplate.addEnchantment(Enchantment.DURABILITY, 1);
            leather_chestplate.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 1);
            // 耐久 1 保护1
            leather_leggings.addEnchantment(Enchantment.DURABILITY, 1);
            leather_leggings.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 1);
            // 耐久 1 保护1
            leather_boots.addEnchantment(Enchantment.DURABILITY, 1);
            leather_boots.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 1);
            // 锋利1 亡灵杀手1 耐久1
            diamond_sword.addEnchantment(Enchantment.DAMAGE_ALL, 1);
            diamond_sword.addEnchantment(Enchantment.DAMAGE_UNDEAD, 1);
            diamond_sword.addEnchantment(Enchantment.DURABILITY, 1);
            ItemMeta itemMeta = diamond_sword.getItemMeta();
            itemMeta.setDisplayName(monster.getCustomName() + "持有武器");
            itemMeta.addAttributeModifier(Attribute.GENERIC_ATTACK_DAMAGE, new AttributeModifier("攻击增量", 1, AttributeModifier.Operation.ADD_NUMBER));
            itemMeta.addAttributeModifier(Attribute.GENERIC_LUCK, new AttributeModifier("幸运掉落", -100, AttributeModifier.Operation.ADD_NUMBER));
            diamond_sword.setItemMeta(itemMeta);
            // 设置装备
            equipment.setHelmet(leather_helmet);
            equipment.setChestplate(leather_chestplate);
            equipment.setLeggings(leather_leggings);
            equipment.setBoots(leather_boots);
            equipment.setItemInMainHand(diamond_sword);
            // 设置血量 攻击力
            monster.getAttribute(Attribute.GENERIC_MAX_HEALTH).setBaseValue(25);
            monster.getAttribute(Attribute.GENERIC_ATTACK_DAMAGE).setBaseValue(10);
        } else if (monster instanceof Hoglin) {
            monster.getAttribute(Attribute.GENERIC_MAX_HEALTH).setBaseValue(50);
            monster.getAttribute(Attribute.GENERIC_ATTACK_DAMAGE).setBaseValue(6);
        } else if (monster instanceof Drowned) {
            // 耐久 1 保护1
            leather_helmet.addEnchantment(Enchantment.DURABILITY, 1);
            leather_helmet.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 1);
            // 耐久 1 保护1
            leather_chestplate.addEnchantment(Enchantment.DURABILITY, 1);
            leather_chestplate.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 1);
            // 耐久 1 保护1
            leather_leggings.addEnchantment(Enchantment.DURABILITY, 1);
            leather_leggings.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 1);
            // 耐久 1 保护1
            leather_boots.addEnchantment(Enchantment.DURABILITY, 1);
            leather_boots.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 1);
            // 锋利1 亡灵杀手1 耐久1
            diamond_sword.addEnchantment(Enchantment.DAMAGE_ALL, 1);
            diamond_sword.addEnchantment(Enchantment.DAMAGE_UNDEAD, 1);
            diamond_sword.addEnchantment(Enchantment.DURABILITY, 1);
            ItemMeta itemMeta = diamond_sword.getItemMeta();
            itemMeta.setDisplayName(monster.getCustomName() + "持有武器");
            itemMeta.addAttributeModifier(Attribute.GENERIC_ATTACK_DAMAGE, new AttributeModifier("攻击增量", 1, AttributeModifier.Operation.ADD_NUMBER));
            itemMeta.addAttributeModifier(Attribute.GENERIC_LUCK, new AttributeModifier("幸运掉落", -100, AttributeModifier.Operation.ADD_NUMBER));
            diamond_sword.setItemMeta(itemMeta);
            // 设置装备
            equipment.setHelmet(leather_helmet);
            equipment.setChestplate(leather_chestplate);
            equipment.setLeggings(leather_leggings);
            equipment.setBoots(leather_boots);
            equipment.setItemInMainHand(diamond_sword);
            // 设置血量 攻击力
            monster.getAttribute(Attribute.GENERIC_MAX_HEALTH).setBaseValue(25);
            monster.getAttribute(Attribute.GENERIC_ATTACK_DAMAGE).setBaseValue(4);
        } else if (monster instanceof Zoglin) {
            monster.getAttribute(Attribute.GENERIC_MAX_HEALTH).setBaseValue(50);
            monster.getAttribute(Attribute.GENERIC_ATTACK_DAMAGE).setBaseValue(6);
        } else if (monster instanceof ZombieVillager) {
            // 耐久 1 保护1
            leather_helmet.addEnchantment(Enchantment.DURABILITY, 1);
            leather_helmet.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 1);
            // 耐久 1 保护1
            leather_chestplate.addEnchantment(Enchantment.DURABILITY, 1);
            leather_chestplate.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 1);
            // 耐久 1 保护1
            leather_leggings.addEnchantment(Enchantment.DURABILITY, 1);
            leather_leggings.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 1);
            // 耐久 1 保护1
            leather_boots.addEnchantment(Enchantment.DURABILITY, 1);
            leather_boots.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 1);
            // 锋利1 亡灵杀手1 耐久1
            diamond_sword.addEnchantment(Enchantment.DAMAGE_ALL, 1);
            diamond_sword.addEnchantment(Enchantment.DAMAGE_UNDEAD, 1);
            diamond_sword.addEnchantment(Enchantment.DURABILITY, 1);
            ItemMeta itemMeta = diamond_sword.getItemMeta();
            itemMeta.setDisplayName(monster.getCustomName() + "持有武器");
            itemMeta.addAttributeModifier(Attribute.GENERIC_ATTACK_DAMAGE, new AttributeModifier("攻击增量", 1, AttributeModifier.Operation.ADD_NUMBER));
            itemMeta.addAttributeModifier(Attribute.GENERIC_LUCK, new AttributeModifier("幸运掉落", -100, AttributeModifier.Operation.ADD_NUMBER));
            diamond_sword.setItemMeta(itemMeta);
            // 设置装备
            equipment.setHelmet(leather_helmet);
            equipment.setChestplate(leather_chestplate);
            equipment.setLeggings(leather_leggings);
            equipment.setBoots(leather_boots);
            equipment.setItemInMainHand(diamond_sword);
            // 设置血量 攻击力
            monster.getAttribute(Attribute.GENERIC_MAX_HEALTH).setBaseValue(25);
            monster.getAttribute(Attribute.GENERIC_ATTACK_DAMAGE).setBaseValue(6);
        } else if (monster instanceof Husk) {
            // 耐久 1 保护1
            leather_helmet.addEnchantment(Enchantment.DURABILITY, 1);
            leather_helmet.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 1);
            // 耐久 1 保护1
            leather_chestplate.addEnchantment(Enchantment.DURABILITY, 1);
            leather_chestplate.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 1);
            // 耐久 1 保护1
            leather_leggings.addEnchantment(Enchantment.DURABILITY, 1);
            leather_leggings.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 1);
            // 耐久 1 保护1
            leather_boots.addEnchantment(Enchantment.DURABILITY, 1);
            leather_boots.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 1);
            // 锋利1 亡灵杀手1 耐久1
            diamond_sword.addEnchantment(Enchantment.DAMAGE_ALL, 1);
            diamond_sword.addEnchantment(Enchantment.DAMAGE_UNDEAD, 1);
            diamond_sword.addEnchantment(Enchantment.DURABILITY, 1);
            ItemMeta itemMeta = diamond_sword.getItemMeta();
            itemMeta.setDisplayName(monster.getCustomName() + "持有武器");
            itemMeta.addAttributeModifier(Attribute.GENERIC_ATTACK_DAMAGE, new AttributeModifier("攻击增量", 1, AttributeModifier.Operation.ADD_NUMBER));
            itemMeta.addAttributeModifier(Attribute.GENERIC_LUCK, new AttributeModifier("幸运掉落", -100, AttributeModifier.Operation.ADD_NUMBER));
            diamond_sword.setItemMeta(itemMeta);
            // 设置装备
            equipment.setHelmet(leather_helmet);
            equipment.setChestplate(leather_chestplate);
            equipment.setLeggings(leather_leggings);
            equipment.setBoots(leather_boots);
            equipment.setItemInMainHand(diamond_sword);
            // 设置血量 攻击力
            monster.getAttribute(Attribute.GENERIC_MAX_HEALTH).setBaseValue(25);
            monster.getAttribute(Attribute.GENERIC_ATTACK_DAMAGE).setBaseValue(4);
        } else if (monster instanceof Stray) {
            // 耐久 1 保护1
            leather_helmet.addEnchantment(Enchantment.DURABILITY, 1);
            leather_helmet.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 1);
            // 耐久 1 保护1
            leather_chestplate.addEnchantment(Enchantment.DURABILITY, 1);
            leather_chestplate.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 1);
            // 耐久 1 保护1
            leather_leggings.addEnchantment(Enchantment.DURABILITY, 1);
            leather_leggings.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 1);
            // 耐久 1 保护1
            leather_boots.addEnchantment(Enchantment.DURABILITY, 1);
            leather_boots.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 1);
            // 锋利1 亡灵杀手1 耐久1
            diamond_sword.addEnchantment(Enchantment.DAMAGE_ALL, 1);
            diamond_sword.addEnchantment(Enchantment.DAMAGE_UNDEAD, 1);
            diamond_sword.addEnchantment(Enchantment.DURABILITY, 1);
            ItemMeta itemMeta = diamond_sword.getItemMeta();
            itemMeta.setDisplayName(monster.getCustomName() + "持有武器");
            itemMeta.addAttributeModifier(Attribute.GENERIC_ATTACK_DAMAGE, new AttributeModifier("攻击增量", 1, AttributeModifier.Operation.ADD_NUMBER));
            itemMeta.addAttributeModifier(Attribute.GENERIC_LUCK, new AttributeModifier("幸运掉落", -100, AttributeModifier.Operation.ADD_NUMBER));
            diamond_sword.setItemMeta(itemMeta);
            // 设置装备
            equipment.setHelmet(leather_helmet);
            equipment.setChestplate(leather_chestplate);
            equipment.setLeggings(leather_leggings);
            equipment.setBoots(leather_boots);
            equipment.setItemInMainHand(diamond_sword);
            // 设置血量 攻击力
            monster.getAttribute(Attribute.GENERIC_MAX_HEALTH).setBaseValue(25);
            monster.getAttribute(Attribute.GENERIC_ATTACK_DAMAGE).setBaseValue(4);
        } else if (monster instanceof Zombie) {
            // 耐久 1 保护1
            leather_helmet.addEnchantment(Enchantment.DURABILITY, 1);
            leather_helmet.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 1);
            // 耐久 1 保护1
            leather_chestplate.addEnchantment(Enchantment.DURABILITY, 1);
            leather_chestplate.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 1);
            // 耐久 1 保护1
            leather_leggings.addEnchantment(Enchantment.DURABILITY, 1);
            leather_leggings.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 1);
            // 耐久 1 保护1
            leather_boots.addEnchantment(Enchantment.DURABILITY, 1);
            leather_boots.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 1);
            // 锋利1 亡灵杀手1 耐久1
            diamond_sword.addEnchantment(Enchantment.DAMAGE_ALL, 1);
            diamond_sword.addEnchantment(Enchantment.DAMAGE_UNDEAD, 1);
            diamond_sword.addEnchantment(Enchantment.DURABILITY, 1);
            ItemMeta itemMeta = diamond_sword.getItemMeta();
            itemMeta.setDisplayName(monster.getCustomName() + "持有武器");
            itemMeta.addAttributeModifier(Attribute.GENERIC_ATTACK_DAMAGE, new AttributeModifier("攻击增量", 1, AttributeModifier.Operation.ADD_NUMBER));
            itemMeta.addAttributeModifier(Attribute.GENERIC_LUCK, new AttributeModifier("幸运掉落", -100, AttributeModifier.Operation.ADD_NUMBER));
            diamond_sword.setItemMeta(itemMeta);
            // 设置装备
            equipment.setHelmet(leather_helmet);
            equipment.setChestplate(leather_chestplate);
            equipment.setLeggings(leather_leggings);
            equipment.setBoots(leather_boots);
            equipment.setItemInMainHand(diamond_sword);
            // 设置血量 攻击力
            monster.getAttribute(Attribute.GENERIC_MAX_HEALTH).setBaseValue(25);
            monster.getAttribute(Attribute.GENERIC_ATTACK_DAMAGE).setBaseValue(4);
        } else if (monster instanceof WitherSkeleton) {
            // 耐久 1 保护1
            leather_helmet.addEnchantment(Enchantment.DURABILITY, 1);
            leather_helmet.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 1);
            // 耐久 1 保护1
            leather_chestplate.addEnchantment(Enchantment.DURABILITY, 1);
            leather_chestplate.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 1);
            // 耐久 1 保护1
            leather_leggings.addEnchantment(Enchantment.DURABILITY, 1);
            leather_leggings.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 1);
            // 耐久 1 保护1
            leather_boots.addEnchantment(Enchantment.DURABILITY, 1);
            leather_boots.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 1);
            // 锋利1 亡灵杀手1 耐久1
            diamond_sword.addEnchantment(Enchantment.DAMAGE_ALL, 1);
            diamond_sword.addEnchantment(Enchantment.DAMAGE_UNDEAD, 1);
            diamond_sword.addEnchantment(Enchantment.DURABILITY, 1);
            ItemMeta itemMeta = diamond_sword.getItemMeta();
            itemMeta.setDisplayName(monster.getCustomName() + "持有武器");
            itemMeta.addAttributeModifier(Attribute.GENERIC_ATTACK_DAMAGE, new AttributeModifier("攻击增量", 1, AttributeModifier.Operation.ADD_NUMBER));
            itemMeta.addAttributeModifier(Attribute.GENERIC_LUCK, new AttributeModifier("幸运掉落", -100, AttributeModifier.Operation.ADD_NUMBER));
            diamond_sword.setItemMeta(itemMeta);
            // 设置装备
            equipment.setHelmet(leather_helmet);
            equipment.setChestplate(leather_chestplate);
            equipment.setLeggings(leather_leggings);
            equipment.setBoots(leather_boots);
            equipment.setItemInMainHand(diamond_sword);
            // 设置血量 攻击力
            monster.getAttribute(Attribute.GENERIC_MAX_HEALTH).setBaseValue(25);
            monster.getAttribute(Attribute.GENERIC_ATTACK_DAMAGE).setBaseValue(10);
        } else if (monster instanceof Skeleton) {
            // 耐久 1 保护1
            leather_helmet.addEnchantment(Enchantment.DURABILITY, 1);
            leather_helmet.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 1);
            // 耐久 1 保护1
            leather_chestplate.addEnchantment(Enchantment.DURABILITY, 1);
            leather_chestplate.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 1);
            // 耐久 1 保护1
            leather_leggings.addEnchantment(Enchantment.DURABILITY, 1);
            leather_leggings.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 1);
            // 耐久 1 保护1
            leather_boots.addEnchantment(Enchantment.DURABILITY, 1);
            leather_boots.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 1);
            // 锋利1 亡灵杀手1 耐久1
            diamond_sword.addEnchantment(Enchantment.DAMAGE_ALL, 1);
            diamond_sword.addEnchantment(Enchantment.DAMAGE_UNDEAD, 1);
            diamond_sword.addEnchantment(Enchantment.DURABILITY, 1);

            // 设置装备
            equipment.setHelmet(leather_helmet);
            equipment.setChestplate(leather_chestplate);
            equipment.setLeggings(leather_leggings);
            equipment.setBoots(leather_boots);
            equipment.setItemInMainHand(diamond_sword);
            // 设置血量 攻击力
            monster.getAttribute(Attribute.GENERIC_MAX_HEALTH).setBaseValue(25);
            monster.getAttribute(Attribute.GENERIC_ATTACK_DAMAGE).setBaseValue(4);
        } else if (monster instanceof Spider) {
            // 设置血量 攻击力
            monster.getAttribute(Attribute.GENERIC_MAX_HEALTH).setBaseValue(25);
            monster.getAttribute(Attribute.GENERIC_ATTACK_DAMAGE).setBaseValue(4);
        } else if (monster instanceof Creeper) {
            // 设置血量 攻击力
            monster.getAttribute(Attribute.GENERIC_MAX_HEALTH).setBaseValue(25);
            monster.getAttribute(Attribute.GENERIC_ATTACK_DAMAGE).setBaseValue(55);
        } else if (monster instanceof Enderman) {
            // 设置血量 攻击力
            monster.getAttribute(Attribute.GENERIC_MAX_HEALTH).setBaseValue(45);
            monster.getAttribute(Attribute.GENERIC_ATTACK_DAMAGE).setBaseValue(10);
        } else if (monster instanceof Piglin) {
            // 耐久 1 保护1
            leather_helmet.addEnchantment(Enchantment.DURABILITY, 1);
            leather_helmet.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 1);
            // 耐久 1 保护1
            leather_chestplate.addEnchantment(Enchantment.DURABILITY, 1);
            leather_chestplate.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 1);
            // 耐久 1 保护1
            leather_leggings.addEnchantment(Enchantment.DURABILITY, 1);
            leather_leggings.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 1);
            // 耐久 1 保护1
            leather_boots.addEnchantment(Enchantment.DURABILITY, 1);
            leather_boots.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 1);
            // 锋利1 亡灵杀手1 耐久1
            diamond_sword.addEnchantment(Enchantment.DAMAGE_ALL, 1);
            diamond_sword.addEnchantment(Enchantment.DAMAGE_UNDEAD, 1);
            diamond_sword.addEnchantment(Enchantment.DURABILITY, 1);
            ItemMeta itemMeta = diamond_sword.getItemMeta();
            itemMeta.setDisplayName(monster.getCustomName() + "持有武器");
            itemMeta.addAttributeModifier(Attribute.GENERIC_ATTACK_DAMAGE, new AttributeModifier("攻击增量", 1, AttributeModifier.Operation.ADD_NUMBER));
            itemMeta.addAttributeModifier(Attribute.GENERIC_LUCK, new AttributeModifier("幸运掉落", -100, AttributeModifier.Operation.ADD_NUMBER));
            diamond_sword.setItemMeta(itemMeta);
            // 设置装备
            equipment.setHelmet(leather_helmet);
            equipment.setChestplate(leather_chestplate);
            equipment.setLeggings(leather_leggings);
            equipment.setBoots(leather_boots);
            equipment.setItemInMainHand(diamond_sword);
            // 设置血量 攻击力
            monster.getAttribute(Attribute.GENERIC_MAX_HEALTH).setBaseValue(25);
            monster.getAttribute(Attribute.GENERIC_ATTACK_DAMAGE).setBaseValue(10);
        } else if (monster instanceof Blaze) {
            monster.getAttribute(Attribute.GENERIC_MAX_HEALTH).setBaseValue(25);
            monster.getAttribute(Attribute.GENERIC_ATTACK_DAMAGE).setBaseValue(12);
        } else if (monster instanceof ElderGuardian) {
            monster.getAttribute(Attribute.GENERIC_MAX_HEALTH).setBaseValue(90);
            monster.getAttribute(Attribute.GENERIC_ATTACK_DAMAGE).setBaseValue(12);
        } else if (monster instanceof Guardian) {
            monster.getAttribute(Attribute.GENERIC_MAX_HEALTH).setBaseValue(40);
            monster.getAttribute(Attribute.GENERIC_ATTACK_DAMAGE).setBaseValue(8);
        } else if (monster instanceof Endermite) {
            monster.getAttribute(Attribute.GENERIC_MAX_HEALTH).setBaseValue(10);
            monster.getAttribute(Attribute.GENERIC_ATTACK_DAMAGE).setBaseValue(8);
        } else if (monster instanceof Evoker) {
            monster.getAttribute(Attribute.GENERIC_MAX_HEALTH).setBaseValue(30);
            monster.getAttribute(Attribute.GENERIC_ATTACK_DAMAGE).setBaseValue(8);
        } else if (monster instanceof Ghast) {
            monster.getAttribute(Attribute.GENERIC_MAX_HEALTH).setBaseValue(30);
            //monster.getAttribute(Attribute.GENERIC_ATTACK_DAMAGE).setBaseValue(20);
        } else if (monster instanceof MagmaCube) {
            monster.getAttribute(Attribute.GENERIC_MAX_HEALTH).setBaseValue(50);
            monster.getAttribute(Attribute.GENERIC_ATTACK_DAMAGE).setBaseValue(6);
        } else if (monster instanceof Slime) {
            monster.getAttribute(Attribute.GENERIC_MAX_HEALTH).setBaseValue(50);
            monster.getAttribute(Attribute.GENERIC_ATTACK_DAMAGE).setBaseValue(6);
        } else if (monster instanceof Vex) {
            monster.getAttribute(Attribute.GENERIC_MAX_HEALTH).setBaseValue(20);
            monster.getAttribute(Attribute.GENERIC_ATTACK_DAMAGE).setBaseValue(10);
        } else if (monster instanceof Vindicator) {
            monster.getAttribute(Attribute.GENERIC_MAX_HEALTH).setBaseValue(30);
            monster.getAttribute(Attribute.GENERIC_ATTACK_DAMAGE).setBaseValue(15);
        } else if (monster instanceof Witch) {
            monster.getAttribute(Attribute.GENERIC_MAX_HEALTH).setBaseValue(30);
            monster.getAttribute(Attribute.GENERIC_ATTACK_DAMAGE).setBaseValue(10);
        }
    }

    public void modifyOf2() {
        // 皮革头盔
        ItemStack leather_helmet = new ItemStack(Material.LEATHER_HELMET);
        // 皮革盔甲
        ItemStack leather_chestplate = new ItemStack(Material.LEATHER_CHESTPLATE);
        // 皮革护腿
        ItemStack leather_leggings = new ItemStack(Material.LEATHER_LEGGINGS);
        // 皮革靴子
        ItemStack leather_boots = new ItemStack(Material.LEATHER_BOOTS);
        // 钻石剑
        ItemStack diamond_sword = new ItemStack(Material.DIAMOND_SWORD);
        monster.setCustomName("§c[二阶] " + monsterName);
        monster.setCustomNameVisible(true);
        EntityEquipment equipment = monster.getEquipment();

        if (monster instanceof PigZombie) {
            // 耐久 2 保护2
            leather_helmet.addEnchantment(Enchantment.DURABILITY, 2);
            leather_helmet.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 2);
            // 耐久 2 保护2
            leather_chestplate.addEnchantment(Enchantment.DURABILITY, 2);
            leather_chestplate.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 2);
            // 耐久 2 保护2
            leather_leggings.addEnchantment(Enchantment.DURABILITY, 2);
            leather_leggings.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 2);
            // 耐久 2 保护2
            leather_boots.addEnchantment(Enchantment.DURABILITY, 2);
            leather_boots.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 2);
            // 锋利2 亡灵杀手2 耐久2
            diamond_sword.addEnchantment(Enchantment.DAMAGE_ALL, 2);
            diamond_sword.addEnchantment(Enchantment.DAMAGE_UNDEAD, 2);
            diamond_sword.addEnchantment(Enchantment.DURABILITY, 2);
            ItemMeta itemMeta = diamond_sword.getItemMeta();
            itemMeta.setDisplayName(monster.getCustomName() + "持有武器");
            itemMeta.addAttributeModifier(Attribute.GENERIC_ATTACK_DAMAGE, new AttributeModifier("攻击增量", 12, AttributeModifier.Operation.ADD_NUMBER));
            itemMeta.addAttributeModifier(Attribute.GENERIC_LUCK, new AttributeModifier("幸运掉落", -100, AttributeModifier.Operation.ADD_NUMBER));
            diamond_sword.setItemMeta(itemMeta);
            // 设置装备
            equipment.setHelmet(leather_helmet);
            equipment.setChestplate(leather_chestplate);
            equipment.setLeggings(leather_leggings);
            equipment.setBoots(leather_boots);
            equipment.setItemInMainHand(diamond_sword);
            // 设置血量 攻击力
            monster.getAttribute(Attribute.GENERIC_MAX_HEALTH).setBaseValue(30);
            monster.getAttribute(Attribute.GENERIC_ATTACK_DAMAGE).setBaseValue(12);
        } else if (monster instanceof Hoglin) {
            monster.getAttribute(Attribute.GENERIC_MAX_HEALTH).setBaseValue(54);
            monster.getAttribute(Attribute.GENERIC_ATTACK_DAMAGE).setBaseValue(9);
        } else if (monster instanceof Drowned) {
            // 耐久 2 保护2
            leather_helmet.addEnchantment(Enchantment.DURABILITY, 2);
            leather_helmet.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 2);
            // 耐久 2 保护2
            leather_chestplate.addEnchantment(Enchantment.DURABILITY, 2);
            leather_chestplate.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 2);
            // 耐久 2 保护2
            leather_leggings.addEnchantment(Enchantment.DURABILITY, 2);
            leather_leggings.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 2);
            // 耐久 2 保护2
            leather_boots.addEnchantment(Enchantment.DURABILITY, 2);
            leather_boots.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 2);
            // 锋利2 亡灵杀手2 耐久2
            diamond_sword.addEnchantment(Enchantment.DAMAGE_ALL, 2);
            diamond_sword.addEnchantment(Enchantment.DAMAGE_UNDEAD, 2);
            diamond_sword.addEnchantment(Enchantment.DURABILITY, 2);
            ItemMeta itemMeta = diamond_sword.getItemMeta();
            itemMeta.setDisplayName(monster.getCustomName() + "持有武器");
            itemMeta.addAttributeModifier(Attribute.GENERIC_ATTACK_DAMAGE, new AttributeModifier("攻击增量", 4, AttributeModifier.Operation.ADD_NUMBER));
            itemMeta.addAttributeModifier(Attribute.GENERIC_LUCK, new AttributeModifier("幸运掉落", -100, AttributeModifier.Operation.ADD_NUMBER));
            diamond_sword.setItemMeta(itemMeta);
            // 设置装备
            equipment.setHelmet(leather_helmet);
            equipment.setChestplate(leather_chestplate);
            equipment.setLeggings(leather_leggings);
            equipment.setBoots(leather_boots);
            equipment.setItemInMainHand(diamond_sword);
            // 设置血量 攻击力
            monster.getAttribute(Attribute.GENERIC_MAX_HEALTH).setBaseValue(30);
            monster.getAttribute(Attribute.GENERIC_ATTACK_DAMAGE).setBaseValue(6);
        } else if (monster instanceof Zoglin) {
            monster.getAttribute(Attribute.GENERIC_MAX_HEALTH).setBaseValue(54);
            monster.getAttribute(Attribute.GENERIC_ATTACK_DAMAGE).setBaseValue(9);
        } else if (monster instanceof ZombieVillager) {
            // 设置血量 攻击力
            monster.getAttribute(Attribute.GENERIC_MAX_HEALTH).setBaseValue(30);
            monster.getAttribute(Attribute.GENERIC_ATTACK_DAMAGE).setBaseValue(9);
        } else if (monster instanceof Husk) {
            // 耐久 2 保护2
            leather_helmet.addEnchantment(Enchantment.DURABILITY, 2);
            leather_helmet.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 2);
            // 耐久 2 保护2
            leather_chestplate.addEnchantment(Enchantment.DURABILITY, 2);
            leather_chestplate.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 2);
            // 耐久 2 保护2
            leather_leggings.addEnchantment(Enchantment.DURABILITY, 2);
            leather_leggings.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 2);
            // 耐久 2 保护2
            leather_boots.addEnchantment(Enchantment.DURABILITY, 2);
            leather_boots.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 2);
            // 锋利2 亡灵杀手2 耐久2
            diamond_sword.addEnchantment(Enchantment.DAMAGE_ALL, 2);
            diamond_sword.addEnchantment(Enchantment.DAMAGE_UNDEAD, 2);
            diamond_sword.addEnchantment(Enchantment.DURABILITY, 2);
            ItemMeta itemMeta = diamond_sword.getItemMeta();
            itemMeta.setDisplayName(monster.getCustomName() + "持有武器");
            itemMeta.addAttributeModifier(Attribute.GENERIC_ATTACK_DAMAGE, new AttributeModifier("攻击增量", 4, AttributeModifier.Operation.ADD_NUMBER));
            itemMeta.addAttributeModifier(Attribute.GENERIC_LUCK, new AttributeModifier("幸运掉落", -100, AttributeModifier.Operation.ADD_NUMBER));
            diamond_sword.setItemMeta(itemMeta);
            // 设置装备
            equipment.setHelmet(leather_helmet);
            equipment.setChestplate(leather_chestplate);
            equipment.setLeggings(leather_leggings);
            equipment.setBoots(leather_boots);
            equipment.setItemInMainHand(diamond_sword);
            // 设置血量 攻击力
            monster.getAttribute(Attribute.GENERIC_MAX_HEALTH).setBaseValue(30);
            monster.getAttribute(Attribute.GENERIC_ATTACK_DAMAGE).setBaseValue(6);
        } else if (monster instanceof Stray) {
            // 耐久 2 保护2
            leather_helmet.addEnchantment(Enchantment.DURABILITY, 2);
            leather_helmet.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 2);
            // 耐久 2 保护2
            leather_chestplate.addEnchantment(Enchantment.DURABILITY, 2);
            leather_chestplate.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 2);
            // 耐久 2 保护2
            leather_leggings.addEnchantment(Enchantment.DURABILITY, 2);
            leather_leggings.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 2);
            // 耐久 2 保护2
            leather_boots.addEnchantment(Enchantment.DURABILITY, 2);
            leather_boots.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 2);
            // 锋利2 亡灵杀手2 耐久2
            diamond_sword.addEnchantment(Enchantment.DAMAGE_ALL, 2);
            diamond_sword.addEnchantment(Enchantment.DAMAGE_UNDEAD, 2);
            diamond_sword.addEnchantment(Enchantment.DURABILITY, 2);
            ItemMeta itemMeta = diamond_sword.getItemMeta();
            itemMeta.setDisplayName(monster.getCustomName() + "持有武器");
            itemMeta.addAttributeModifier(Attribute.GENERIC_ATTACK_DAMAGE, new AttributeModifier("攻击增量", 4, AttributeModifier.Operation.ADD_NUMBER));
            itemMeta.addAttributeModifier(Attribute.GENERIC_LUCK, new AttributeModifier("幸运掉落", -100, AttributeModifier.Operation.ADD_NUMBER));
            diamond_sword.setItemMeta(itemMeta);
            // 设置装备
            equipment.setHelmet(leather_helmet);
            equipment.setChestplate(leather_chestplate);
            equipment.setLeggings(leather_leggings);
            equipment.setBoots(leather_boots);
            equipment.setItemInMainHand(diamond_sword);
            // 设置血量 攻击力
            monster.getAttribute(Attribute.GENERIC_MAX_HEALTH).setBaseValue(30);
            monster.getAttribute(Attribute.GENERIC_ATTACK_DAMAGE).setBaseValue(6);
        } else if (monster instanceof Zombie) {
            // 耐久 2 保护2
            leather_helmet.addEnchantment(Enchantment.DURABILITY, 2);
            leather_helmet.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 2);
            // 耐久 2 保护2
            leather_chestplate.addEnchantment(Enchantment.DURABILITY, 2);
            leather_chestplate.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 2);
            // 耐久 2 保护2
            leather_leggings.addEnchantment(Enchantment.DURABILITY, 2);
            leather_leggings.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 2);
            // 耐久 2 保护2
            leather_boots.addEnchantment(Enchantment.DURABILITY, 2);
            leather_boots.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 2);
            // 锋利2 亡灵杀手2 耐久2
            diamond_sword.addEnchantment(Enchantment.DAMAGE_ALL, 2);
            diamond_sword.addEnchantment(Enchantment.DAMAGE_UNDEAD, 2);
            diamond_sword.addEnchantment(Enchantment.DURABILITY, 2);
            ItemMeta itemMeta = diamond_sword.getItemMeta();
            itemMeta.setDisplayName(monster.getCustomName() + "持有武器");
            itemMeta.addAttributeModifier(Attribute.GENERIC_ATTACK_DAMAGE, new AttributeModifier("攻击增量", 4, AttributeModifier.Operation.ADD_NUMBER));
            itemMeta.addAttributeModifier(Attribute.GENERIC_LUCK, new AttributeModifier("幸运掉落", -100, AttributeModifier.Operation.ADD_NUMBER));
            diamond_sword.setItemMeta(itemMeta);
            // 设置装备
            equipment.setHelmet(leather_helmet);
            equipment.setChestplate(leather_chestplate);
            equipment.setLeggings(leather_leggings);
            equipment.setBoots(leather_boots);
            equipment.setItemInMainHand(diamond_sword);
            // 设置血量 攻击力
            monster.getAttribute(Attribute.GENERIC_MAX_HEALTH).setBaseValue(30);
            monster.getAttribute(Attribute.GENERIC_ATTACK_DAMAGE).setBaseValue(6);
        } else if (monster instanceof WitherSkeleton) {
            // 耐久 2 保护2
            leather_helmet.addEnchantment(Enchantment.DURABILITY, 2);
            leather_helmet.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 2);
            // 耐久 2 保护2
            leather_chestplate.addEnchantment(Enchantment.DURABILITY, 2);
            leather_chestplate.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 2);
            // 耐久 2 保护2
            leather_leggings.addEnchantment(Enchantment.DURABILITY, 2);
            leather_leggings.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 2);
            // 耐久 2 保护2
            leather_boots.addEnchantment(Enchantment.DURABILITY, 2);
            leather_boots.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 2);
            // 锋利2 亡灵杀手2 耐久2
            diamond_sword.addEnchantment(Enchantment.DAMAGE_ALL, 2);
            diamond_sword.addEnchantment(Enchantment.DAMAGE_UNDEAD, 2);
            diamond_sword.addEnchantment(Enchantment.DURABILITY, 2);
            ItemMeta itemMeta = diamond_sword.getItemMeta();
            itemMeta.setDisplayName(monster.getCustomName() + "持有武器");
            itemMeta.addAttributeModifier(Attribute.GENERIC_ATTACK_DAMAGE, new AttributeModifier("攻击增量", 5, AttributeModifier.Operation.ADD_NUMBER));
            itemMeta.addAttributeModifier(Attribute.GENERIC_LUCK, new AttributeModifier("幸运掉落", -100, AttributeModifier.Operation.ADD_NUMBER));
            diamond_sword.setItemMeta(itemMeta);
            // 设置装备
            equipment.setHelmet(leather_helmet);
            equipment.setChestplate(leather_chestplate);
            equipment.setLeggings(leather_leggings);
            equipment.setBoots(leather_boots);
            equipment.setItemInMainHand(diamond_sword);
            // 设置血量 攻击力
            monster.getAttribute(Attribute.GENERIC_MAX_HEALTH).setBaseValue(30);
            monster.getAttribute(Attribute.GENERIC_ATTACK_DAMAGE).setBaseValue(15);
        } else if (monster instanceof Skeleton) {
            // 耐久 2 保护2
            leather_helmet.addEnchantment(Enchantment.DURABILITY, 2);
            leather_helmet.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 2);
            // 耐久 2 保护2
            leather_chestplate.addEnchantment(Enchantment.DURABILITY, 2);
            leather_chestplate.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 2);
            // 耐久 2 保护2
            leather_leggings.addEnchantment(Enchantment.DURABILITY, 2);
            leather_leggings.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 2);
            // 耐久 2 保护2
            leather_boots.addEnchantment(Enchantment.DURABILITY, 2);
            leather_boots.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 2);
            // 耐久2 力量1 冲击2
            ItemStack bow = new ItemStack(Material.BOW);
            bow.addEnchantment(Enchantment.DURABILITY, 2);
            bow.addEnchantment(Enchantment.ARROW_DAMAGE, 1);
            bow.addEnchantment(Enchantment.ARROW_KNOCKBACK, 1);
            ItemMeta itemMeta = bow.getItemMeta();
            itemMeta.setDisplayName(monster.getCustomName() + "持有武器");
            itemMeta.addAttributeModifier(Attribute.GENERIC_ATTACK_DAMAGE, new AttributeModifier("攻击增量", 1, AttributeModifier.Operation.ADD_NUMBER));
            itemMeta.addAttributeModifier(Attribute.GENERIC_LUCK, new AttributeModifier("幸运掉落", -100, AttributeModifier.Operation.ADD_NUMBER));
            diamond_sword.setItemMeta(itemMeta);
            // 设置装备
            equipment.setHelmet(leather_helmet);
            equipment.setChestplate(leather_chestplate);
            equipment.setLeggings(leather_leggings);
            equipment.setBoots(leather_boots);
            equipment.setItemInMainHand(bow);
            // 设置血量 攻击力
            monster.getAttribute(Attribute.GENERIC_MAX_HEALTH).setBaseValue(30);
            monster.getAttribute(Attribute.GENERIC_ATTACK_DAMAGE).setBaseValue(6);
        } else if (monster instanceof Spider) {
            // 设置血量 攻击力
            monster.getAttribute(Attribute.GENERIC_MAX_HEALTH).setBaseValue(30);
            monster.getAttribute(Attribute.GENERIC_ATTACK_DAMAGE).setBaseValue(6);
        } else if (monster instanceof Creeper) {
            // 设置血量 攻击力
            monster.getAttribute(Attribute.GENERIC_MAX_HEALTH).setBaseValue(30);
            monster.getAttribute(Attribute.GENERIC_ATTACK_DAMAGE).setBaseValue(60);
        } else if (monster instanceof Enderman) {
            // 设置血量 攻击力
            monster.getAttribute(Attribute.GENERIC_MAX_HEALTH).setBaseValue(50);
            monster.getAttribute(Attribute.GENERIC_ATTACK_DAMAGE).setBaseValue(12);
        } else if (monster instanceof Piglin) {
            // 耐久 2 保护2
            leather_helmet.addEnchantment(Enchantment.DURABILITY, 2);
            leather_helmet.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 2);
            // 耐久 2 保护2
            leather_chestplate.addEnchantment(Enchantment.DURABILITY, 2);
            leather_chestplate.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 2);
            // 耐久 2 保护2
            leather_leggings.addEnchantment(Enchantment.DURABILITY, 2);
            leather_leggings.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 2);
            // 耐久 2 保护2
            leather_boots.addEnchantment(Enchantment.DURABILITY, 2);
            leather_boots.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 2);
            // 锋利2 亡灵杀手2 耐久2
            diamond_sword.addEnchantment(Enchantment.DAMAGE_ALL, 2);
            diamond_sword.addEnchantment(Enchantment.DAMAGE_UNDEAD, 2);
            diamond_sword.addEnchantment(Enchantment.DURABILITY, 2);
            ItemMeta itemMeta = diamond_sword.getItemMeta();
            itemMeta.setDisplayName(monster.getCustomName() + "持有武器");
            itemMeta.addAttributeModifier(Attribute.GENERIC_ATTACK_DAMAGE, new AttributeModifier("攻击增量", 12, AttributeModifier.Operation.ADD_NUMBER));
            itemMeta.addAttributeModifier(Attribute.GENERIC_LUCK, new AttributeModifier("幸运掉落", -100, AttributeModifier.Operation.ADD_NUMBER));
            diamond_sword.setItemMeta(itemMeta);
            // 设置装备
            equipment.setHelmet(leather_helmet);
            equipment.setChestplate(leather_chestplate);
            equipment.setLeggings(leather_leggings);
            equipment.setBoots(leather_boots);
            equipment.setItemInMainHand(diamond_sword);
            // 设置血量 攻击力
            monster.getAttribute(Attribute.GENERIC_MAX_HEALTH).setBaseValue(30);
            monster.getAttribute(Attribute.GENERIC_ATTACK_DAMAGE).setBaseValue(12);
        } else if (monster instanceof Blaze) {
            monster.getAttribute(Attribute.GENERIC_MAX_HEALTH).setBaseValue(30);
            monster.getAttribute(Attribute.GENERIC_ATTACK_DAMAGE).setBaseValue(14);
        } else if (monster instanceof ElderGuardian) {
            monster.getAttribute(Attribute.GENERIC_MAX_HEALTH).setBaseValue(95);
            monster.getAttribute(Attribute.GENERIC_ATTACK_DAMAGE).setBaseValue(14);
        } else if (monster instanceof Guardian) {
            monster.getAttribute(Attribute.GENERIC_MAX_HEALTH).setBaseValue(45);
            monster.getAttribute(Attribute.GENERIC_ATTACK_DAMAGE).setBaseValue(12);
        } else if (monster instanceof Endermite) {
            monster.getAttribute(Attribute.GENERIC_MAX_HEALTH).setBaseValue(12);
            monster.getAttribute(Attribute.GENERIC_ATTACK_DAMAGE).setBaseValue(12);
        } else if (monster instanceof Evoker) {
            monster.getAttribute(Attribute.GENERIC_MAX_HEALTH).setBaseValue(35);
            monster.getAttribute(Attribute.GENERIC_ATTACK_DAMAGE).setBaseValue(12);
        } else if (monster instanceof Ghast) {
            monster.getAttribute(Attribute.GENERIC_MAX_HEALTH).setBaseValue(35);
            //monster.getAttribute(Attribute.GENERIC_ATTACK_DAMAGE).setBaseValue(24);
        } else if (monster instanceof MagmaCube) {
            monster.getAttribute(Attribute.GENERIC_MAX_HEALTH).setBaseValue(54);
            monster.getAttribute(Attribute.GENERIC_ATTACK_DAMAGE).setBaseValue(9);
        } else if (monster instanceof Slime) {
            monster.getAttribute(Attribute.GENERIC_MAX_HEALTH).setBaseValue(54);
            monster.getAttribute(Attribute.GENERIC_ATTACK_DAMAGE).setBaseValue(9);
        } else if (monster instanceof Vex) {
            monster.getAttribute(Attribute.GENERIC_MAX_HEALTH).setBaseValue(23);
            monster.getAttribute(Attribute.GENERIC_ATTACK_DAMAGE).setBaseValue(14);
        } else if (monster instanceof Vindicator) {
            monster.getAttribute(Attribute.GENERIC_MAX_HEALTH).setBaseValue(34);
            monster.getAttribute(Attribute.GENERIC_ATTACK_DAMAGE).setBaseValue(17);
        } else if (monster instanceof Witch) {
            monster.getAttribute(Attribute.GENERIC_MAX_HEALTH).setBaseValue(34);
            monster.getAttribute(Attribute.GENERIC_ATTACK_DAMAGE).setBaseValue(14);
        }
    }

    public void modifyOf3() {
        // 锁链头盔
        ItemStack chain_helmet = new ItemStack(Material.CHAINMAIL_HELMET);
        // 锁链盔甲
        ItemStack chain_chestplate = new ItemStack(Material.CHAINMAIL_CHESTPLATE);
        // 锁链护腿
        ItemStack chain_leggings = new ItemStack(Material.CHAINMAIL_LEGGINGS);
        // 锁链靴子
        ItemStack chain_boots = new ItemStack(Material.CHAINMAIL_BOOTS);
        // 钻石剑
        ItemStack diamond_sword = new ItemStack(Material.DIAMOND_SWORD);
        monster.setCustomName("§c[三阶] " + monsterName);
        monster.setCustomNameVisible(true);
        EntityEquipment equipment = monster.getEquipment();

        if (monster instanceof PigZombie) {
            // 耐久 3 保护3
            chain_helmet.addEnchantment(Enchantment.DURABILITY, 3);
            chain_helmet.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 3);
            // 耐久 3 保护3
            chain_chestplate.addEnchantment(Enchantment.DURABILITY, 3);
            chain_chestplate.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 3);
            // 耐久 3 保护3
            chain_leggings.addEnchantment(Enchantment.DURABILITY, 3);
            chain_leggings.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 3);
            // 耐久 3 保护3
            chain_boots.addEnchantment(Enchantment.DURABILITY, 3);
            chain_boots.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 3);
            // 锋利2 亡灵杀手2 耐久2
            diamond_sword.addEnchantment(Enchantment.DAMAGE_ALL, 2);
            diamond_sword.addEnchantment(Enchantment.DAMAGE_UNDEAD, 2);
            diamond_sword.addEnchantment(Enchantment.DURABILITY, 2);
            ItemMeta itemMeta = diamond_sword.getItemMeta();
            itemMeta.setDisplayName(monster.getCustomName() + "持有武器");
            itemMeta.addAttributeModifier(Attribute.GENERIC_ATTACK_DAMAGE, new AttributeModifier("攻击增量", 14, AttributeModifier.Operation.ADD_NUMBER));
            itemMeta.addAttributeModifier(Attribute.GENERIC_LUCK, new AttributeModifier("幸运掉落", -100, AttributeModifier.Operation.ADD_NUMBER));
            diamond_sword.setItemMeta(itemMeta);
            // 设置装备
            equipment.setHelmet(chain_helmet);
            equipment.setChestplate(chain_chestplate);
            equipment.setLeggings(chain_leggings);
            equipment.setBoots(chain_boots);
            equipment.setItemInMainHand(diamond_sword);
            // 设置血量 攻击力
            monster.getAttribute(Attribute.GENERIC_MAX_HEALTH).setBaseValue(33);
            monster.getAttribute(Attribute.GENERIC_ATTACK_DAMAGE).setBaseValue(14);
        } else if (monster instanceof Hoglin) {
            monster.getAttribute(Attribute.GENERIC_MAX_HEALTH).setBaseValue(58);
            monster.getAttribute(Attribute.GENERIC_ATTACK_DAMAGE).setBaseValue(13);
        } else if (monster instanceof Drowned) {
            // 耐久 3 保护3
            chain_helmet.addEnchantment(Enchantment.DURABILITY, 3);
            chain_helmet.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 3);
            // 耐久 3 保护3
            chain_chestplate.addEnchantment(Enchantment.DURABILITY, 3);
            chain_chestplate.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 3);
            // 耐久 3 保护3
            chain_leggings.addEnchantment(Enchantment.DURABILITY, 3);
            chain_leggings.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 3);
            // 耐久 3 保护3
            chain_boots.addEnchantment(Enchantment.DURABILITY, 3);
            chain_boots.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 3);
            // 锋利2 亡灵杀手2 耐久2
            diamond_sword.addEnchantment(Enchantment.DAMAGE_ALL, 2);
            diamond_sword.addEnchantment(Enchantment.DAMAGE_UNDEAD, 2);
            diamond_sword.addEnchantment(Enchantment.DURABILITY, 2);
            ItemMeta itemMeta = diamond_sword.getItemMeta();
            itemMeta.setDisplayName(monster.getCustomName() + "持有武器");
            itemMeta.addAttributeModifier(Attribute.GENERIC_ATTACK_DAMAGE, new AttributeModifier("攻击增量", 6, AttributeModifier.Operation.ADD_NUMBER));
            itemMeta.addAttributeModifier(Attribute.GENERIC_LUCK, new AttributeModifier("幸运掉落", -100, AttributeModifier.Operation.ADD_NUMBER));
            diamond_sword.setItemMeta(itemMeta);
            // 设置装备
            equipment.setHelmet(chain_helmet);
            equipment.setChestplate(chain_chestplate);
            equipment.setLeggings(chain_leggings);
            equipment.setBoots(chain_boots);
            equipment.setItemInMainHand(diamond_sword);
            // 设置血量 攻击力
            monster.getAttribute(Attribute.GENERIC_MAX_HEALTH).setBaseValue(33);
            monster.getAttribute(Attribute.GENERIC_ATTACK_DAMAGE).setBaseValue(8);
        } else if (monster instanceof Zoglin) {
            monster.getAttribute(Attribute.GENERIC_MAX_HEALTH).setBaseValue(58);
            monster.getAttribute(Attribute.GENERIC_ATTACK_DAMAGE).setBaseValue(13);
        } else if (monster instanceof ZombieVillager) {
            // 设置血量 攻击力
            monster.getAttribute(Attribute.GENERIC_MAX_HEALTH).setBaseValue(34);
            monster.getAttribute(Attribute.GENERIC_ATTACK_DAMAGE).setBaseValue(13);
        } else if (monster instanceof Husk) {
            // 耐久 3 保护3
            chain_helmet.addEnchantment(Enchantment.DURABILITY, 3);
            chain_helmet.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 3);
            // 耐久 3 保护3
            chain_chestplate.addEnchantment(Enchantment.DURABILITY, 3);
            chain_chestplate.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 3);
            // 耐久 3 保护3
            chain_leggings.addEnchantment(Enchantment.DURABILITY, 3);
            chain_leggings.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 3);
            // 耐久 3 保护3
            chain_boots.addEnchantment(Enchantment.DURABILITY, 3);
            chain_boots.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 3);
            // 锋利2 亡灵杀手2 耐久2
            diamond_sword.addEnchantment(Enchantment.DAMAGE_ALL, 2);
            diamond_sword.addEnchantment(Enchantment.DAMAGE_UNDEAD, 2);
            diamond_sword.addEnchantment(Enchantment.DURABILITY, 2);
            ItemMeta itemMeta = diamond_sword.getItemMeta();
            itemMeta.setDisplayName(monster.getCustomName() + "持有武器");
            itemMeta.addAttributeModifier(Attribute.GENERIC_ATTACK_DAMAGE, new AttributeModifier("攻击增量", 6, AttributeModifier.Operation.ADD_NUMBER));
            itemMeta.addAttributeModifier(Attribute.GENERIC_LUCK, new AttributeModifier("幸运掉落", -100, AttributeModifier.Operation.ADD_NUMBER));
            diamond_sword.setItemMeta(itemMeta);
            // 设置装备
            equipment.setHelmet(chain_helmet);
            equipment.setChestplate(chain_chestplate);
            equipment.setLeggings(chain_leggings);
            equipment.setBoots(chain_boots);
            equipment.setItemInMainHand(diamond_sword);
            // 设置血量 攻击力
            monster.getAttribute(Attribute.GENERIC_MAX_HEALTH).setBaseValue(33);
            monster.getAttribute(Attribute.GENERIC_ATTACK_DAMAGE).setBaseValue(8);
        } else if (monster instanceof Stray) {
            // 耐久 3 保护3
            chain_helmet.addEnchantment(Enchantment.DURABILITY, 3);
            chain_helmet.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 3);
            // 耐久 3 保护3
            chain_chestplate.addEnchantment(Enchantment.DURABILITY, 3);
            chain_chestplate.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 3);
            // 耐久 3 保护3
            chain_leggings.addEnchantment(Enchantment.DURABILITY, 3);
            chain_leggings.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 3);
            // 耐久 3 保护3
            chain_boots.addEnchantment(Enchantment.DURABILITY, 3);
            chain_boots.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 3);
            // 锋利2 亡灵杀手2 耐久2
            diamond_sword.addEnchantment(Enchantment.DAMAGE_ALL, 2);
            diamond_sword.addEnchantment(Enchantment.DAMAGE_UNDEAD, 2);
            diamond_sword.addEnchantment(Enchantment.DURABILITY, 2);
            ItemMeta itemMeta = diamond_sword.getItemMeta();
            itemMeta.setDisplayName(monster.getCustomName() + "持有武器");
            itemMeta.addAttributeModifier(Attribute.GENERIC_ATTACK_DAMAGE, new AttributeModifier("攻击增量", 6, AttributeModifier.Operation.ADD_NUMBER));
            itemMeta.addAttributeModifier(Attribute.GENERIC_LUCK, new AttributeModifier("幸运掉落", -100, AttributeModifier.Operation.ADD_NUMBER));
            diamond_sword.setItemMeta(itemMeta);
            // 设置装备
            equipment.setHelmet(chain_helmet);
            equipment.setChestplate(chain_chestplate);
            equipment.setLeggings(chain_leggings);
            equipment.setBoots(chain_boots);
            equipment.setItemInMainHand(diamond_sword);
            // 设置血量 攻击力
            monster.getAttribute(Attribute.GENERIC_MAX_HEALTH).setBaseValue(33);
            monster.getAttribute(Attribute.GENERIC_ATTACK_DAMAGE).setBaseValue(8);
        } else if (monster instanceof Zombie) {
            // 耐久 3 保护3
            chain_helmet.addEnchantment(Enchantment.DURABILITY, 3);
            chain_helmet.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 3);
            // 耐久 3 保护3
            chain_chestplate.addEnchantment(Enchantment.DURABILITY, 3);
            chain_chestplate.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 3);
            // 耐久 3 保护3
            chain_leggings.addEnchantment(Enchantment.DURABILITY, 3);
            chain_leggings.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 3);
            // 耐久 3 保护3
            chain_boots.addEnchantment(Enchantment.DURABILITY, 3);
            chain_boots.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 3);
            // 锋利2 亡灵杀手2 耐久2
            diamond_sword.addEnchantment(Enchantment.DAMAGE_ALL, 2);
            diamond_sword.addEnchantment(Enchantment.DAMAGE_UNDEAD, 2);
            diamond_sword.addEnchantment(Enchantment.DURABILITY, 2);
            ItemMeta itemMeta = diamond_sword.getItemMeta();
            itemMeta.setDisplayName(monster.getCustomName() + "持有武器");
            itemMeta.addAttributeModifier(Attribute.GENERIC_ATTACK_DAMAGE, new AttributeModifier("攻击增量", 6, AttributeModifier.Operation.ADD_NUMBER));
            itemMeta.addAttributeModifier(Attribute.GENERIC_LUCK, new AttributeModifier("幸运掉落", -100, AttributeModifier.Operation.ADD_NUMBER));
            diamond_sword.setItemMeta(itemMeta);
            // 设置装备
            equipment.setHelmet(chain_helmet);
            equipment.setChestplate(chain_chestplate);
            equipment.setLeggings(chain_leggings);
            equipment.setBoots(chain_boots);
            equipment.setItemInMainHand(diamond_sword);
            // 设置血量 攻击力
            monster.getAttribute(Attribute.GENERIC_MAX_HEALTH).setBaseValue(33);
            monster.getAttribute(Attribute.GENERIC_ATTACK_DAMAGE).setBaseValue(8);
        } else if (monster instanceof WitherSkeleton) {
            // 耐久 3 保护3
            chain_helmet.addEnchantment(Enchantment.DURABILITY, 3);
            chain_helmet.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 3);
            // 耐久 3 保护3
            chain_chestplate.addEnchantment(Enchantment.DURABILITY, 3);
            chain_chestplate.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 3);
            // 耐久 3 保护3
            chain_leggings.addEnchantment(Enchantment.DURABILITY, 3);
            chain_leggings.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 3);
            // 耐久 3 保护3
            chain_boots.addEnchantment(Enchantment.DURABILITY, 3);
            chain_boots.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 3);
            // 锋利2 亡灵杀手2 耐久2
            diamond_sword.addEnchantment(Enchantment.DAMAGE_ALL, 2);
            diamond_sword.addEnchantment(Enchantment.DAMAGE_UNDEAD, 2);
            diamond_sword.addEnchantment(Enchantment.DURABILITY, 2);
            ItemMeta itemMeta = diamond_sword.getItemMeta();
            itemMeta.setDisplayName(monster.getCustomName() + "持有武器");
            itemMeta.addAttributeModifier(Attribute.GENERIC_ATTACK_DAMAGE, new AttributeModifier("攻击增量", 10, AttributeModifier.Operation.ADD_NUMBER));
            itemMeta.addAttributeModifier(Attribute.GENERIC_LUCK, new AttributeModifier("幸运掉落", -100, AttributeModifier.Operation.ADD_NUMBER));
            diamond_sword.setItemMeta(itemMeta);
            // 设置装备
            equipment.setHelmet(chain_helmet);
            equipment.setChestplate(chain_chestplate);
            equipment.setLeggings(chain_leggings);
            equipment.setBoots(chain_boots);
            equipment.setItemInMainHand(diamond_sword);
            // 设置血量 攻击力
            monster.getAttribute(Attribute.GENERIC_MAX_HEALTH).setBaseValue(33);
            monster.getAttribute(Attribute.GENERIC_ATTACK_DAMAGE).setBaseValue(20);
        } else if (monster instanceof Skeleton) {
            // 耐久 3 保护3
            chain_helmet.addEnchantment(Enchantment.DURABILITY, 3);
            chain_helmet.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 3);
            // 耐久 3 保护3
            chain_chestplate.addEnchantment(Enchantment.DURABILITY, 3);
            chain_chestplate.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 3);
            // 耐久 3 保护3
            chain_leggings.addEnchantment(Enchantment.DURABILITY, 3);
            chain_leggings.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 3);
            // 耐久 3 保护3
            chain_boots.addEnchantment(Enchantment.DURABILITY, 3);
            chain_boots.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 3);
            // 耐久2 力量1 冲击2
            ItemStack bow = new ItemStack(Material.BOW);
            bow.addEnchantment(Enchantment.DURABILITY, 2);
            bow.addEnchantment(Enchantment.ARROW_DAMAGE, 2);
            bow.addEnchantment(Enchantment.ARROW_KNOCKBACK, 2);
            ItemMeta itemMeta = bow.getItemMeta();
            itemMeta.setDisplayName(monster.getCustomName() + "持有武器");
            itemMeta.addAttributeModifier(Attribute.GENERIC_ATTACK_DAMAGE, new AttributeModifier("攻击增量", 2, AttributeModifier.Operation.ADD_NUMBER));
            itemMeta.addAttributeModifier(Attribute.GENERIC_LUCK, new AttributeModifier("幸运掉落", -100, AttributeModifier.Operation.ADD_NUMBER));
            diamond_sword.setItemMeta(itemMeta);
            // 设置装备
            equipment.setHelmet(chain_helmet);
            equipment.setChestplate(chain_chestplate);
            equipment.setLeggings(chain_leggings);
            equipment.setBoots(chain_boots);
            equipment.setItemInMainHand(bow);
            // 设置血量 攻击力
            monster.getAttribute(Attribute.GENERIC_MAX_HEALTH).setBaseValue(33);
            monster.getAttribute(Attribute.GENERIC_ATTACK_DAMAGE).setBaseValue(8);
        } else if (monster instanceof Spider) {
            // 设置血量 攻击力
            monster.getAttribute(Attribute.GENERIC_MAX_HEALTH).setBaseValue(33);
            monster.getAttribute(Attribute.GENERIC_ATTACK_DAMAGE).setBaseValue(8);
        } else if (monster instanceof Creeper) {
            // 设置血量 攻击力
            monster.getAttribute(Attribute.GENERIC_MAX_HEALTH).setBaseValue(33);
            monster.getAttribute(Attribute.GENERIC_ATTACK_DAMAGE).setBaseValue(70);
        } else if (monster instanceof Enderman) {
            // 设置血量 攻击力
            monster.getAttribute(Attribute.GENERIC_MAX_HEALTH).setBaseValue(54);
            monster.getAttribute(Attribute.GENERIC_ATTACK_DAMAGE).setBaseValue(18);
        } else if (monster instanceof Piglin) {
            // 耐久 3 保护3
            chain_helmet.addEnchantment(Enchantment.DURABILITY, 3);
            chain_helmet.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 3);
            // 耐久 3 保护3
            chain_chestplate.addEnchantment(Enchantment.DURABILITY, 3);
            chain_chestplate.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 3);
            // 耐久 3 保护3
            chain_leggings.addEnchantment(Enchantment.DURABILITY, 3);
            chain_leggings.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 3);
            // 耐久 3 保护3
            chain_boots.addEnchantment(Enchantment.DURABILITY, 3);
            chain_boots.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 3);
            // 锋利2 亡灵杀手2 耐久2
            diamond_sword.addEnchantment(Enchantment.DAMAGE_ALL, 2);
            diamond_sword.addEnchantment(Enchantment.DAMAGE_UNDEAD, 2);
            diamond_sword.addEnchantment(Enchantment.DURABILITY, 2);
            ItemMeta itemMeta = diamond_sword.getItemMeta();
            itemMeta.setDisplayName(monster.getCustomName() + "持有武器");
            itemMeta.addAttributeModifier(Attribute.GENERIC_ATTACK_DAMAGE, new AttributeModifier("攻击增量", 14, AttributeModifier.Operation.ADD_NUMBER));
            itemMeta.addAttributeModifier(Attribute.GENERIC_LUCK, new AttributeModifier("幸运掉落", -100, AttributeModifier.Operation.ADD_NUMBER));
            diamond_sword.setItemMeta(itemMeta);
            // 设置装备
            equipment.setHelmet(chain_helmet);
            equipment.setChestplate(chain_chestplate);
            equipment.setLeggings(chain_leggings);
            equipment.setBoots(chain_boots);
            equipment.setItemInMainHand(diamond_sword);
            // 设置血量 攻击力
            monster.getAttribute(Attribute.GENERIC_MAX_HEALTH).setBaseValue(33);
            monster.getAttribute(Attribute.GENERIC_ATTACK_DAMAGE).setBaseValue(14);
        } else if (monster instanceof Blaze) {
            monster.getAttribute(Attribute.GENERIC_MAX_HEALTH).setBaseValue(33);
            monster.getAttribute(Attribute.GENERIC_ATTACK_DAMAGE).setBaseValue(16);
        } else if (monster instanceof ElderGuardian) {
            monster.getAttribute(Attribute.GENERIC_MAX_HEALTH).setBaseValue(100);
            monster.getAttribute(Attribute.GENERIC_ATTACK_DAMAGE).setBaseValue(16);
        } else if (monster instanceof Guardian) {
            monster.getAttribute(Attribute.GENERIC_MAX_HEALTH).setBaseValue(50);
            monster.getAttribute(Attribute.GENERIC_ATTACK_DAMAGE).setBaseValue(14);
        } else if (monster instanceof Endermite) {
            monster.getAttribute(Attribute.GENERIC_MAX_HEALTH).setBaseValue(14);
            monster.getAttribute(Attribute.GENERIC_ATTACK_DAMAGE).setBaseValue(14);
        } else if (monster instanceof Evoker) {
            monster.getAttribute(Attribute.GENERIC_MAX_HEALTH).setBaseValue(40);
            monster.getAttribute(Attribute.GENERIC_ATTACK_DAMAGE).setBaseValue(14);
        } else if (monster instanceof Ghast) {
            monster.getAttribute(Attribute.GENERIC_MAX_HEALTH).setBaseValue(40);
            //monster.getAttribute(Attribute.GENERIC_ATTACK_DAMAGE).setBaseValue(28);
        } else if (monster instanceof MagmaCube) {
            monster.getAttribute(Attribute.GENERIC_MAX_HEALTH).setBaseValue(58);
            monster.getAttribute(Attribute.GENERIC_ATTACK_DAMAGE).setBaseValue(13);
        } else if (monster instanceof Slime) {
            monster.getAttribute(Attribute.GENERIC_MAX_HEALTH).setBaseValue(58);
            monster.getAttribute(Attribute.GENERIC_ATTACK_DAMAGE).setBaseValue(13);
        } else if (monster instanceof Vex) {
            monster.getAttribute(Attribute.GENERIC_MAX_HEALTH).setBaseValue(26);
            monster.getAttribute(Attribute.GENERIC_ATTACK_DAMAGE).setBaseValue(18);
        } else if (monster instanceof Vindicator) {
            monster.getAttribute(Attribute.GENERIC_MAX_HEALTH).setBaseValue(38);
            monster.getAttribute(Attribute.GENERIC_ATTACK_DAMAGE).setBaseValue(20);
        } else if (monster instanceof Witch) {
            monster.getAttribute(Attribute.GENERIC_MAX_HEALTH).setBaseValue(38);
            monster.getAttribute(Attribute.GENERIC_ATTACK_DAMAGE).setBaseValue(20);
        }
    }

    public void modifyOf4() {
        // 锁链头盔
        ItemStack chain_helmet = new ItemStack(Material.CHAINMAIL_HELMET);
        // 锁链盔甲
        ItemStack chain_chestplate = new ItemStack(Material.CHAINMAIL_CHESTPLATE);
        // 锁链护腿
        ItemStack chain_leggings = new ItemStack(Material.CHAINMAIL_LEGGINGS);
        // 锁链靴子
        ItemStack chain_boots = new ItemStack(Material.CHAINMAIL_BOOTS);
        // 钻石剑
        ItemStack diamond_sword = new ItemStack(Material.DIAMOND_SWORD);
        monster.setCustomName("§c[四阶] " + monsterName);
        monster.setCustomNameVisible(true);
        EntityEquipment equipment = monster.getEquipment();

        if (monster instanceof PigZombie) {
            // 耐久 3 保护3 火焰保护1
            chain_helmet.addEnchantment(Enchantment.DURABILITY, 3);
            chain_helmet.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 3);
            chain_helmet.addEnchantment(Enchantment.PROTECTION_FIRE, 1);
            // 耐久 3 保护3 火焰保护1
            chain_chestplate.addEnchantment(Enchantment.DURABILITY, 3);
            chain_chestplate.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 3);
            chain_chestplate.addEnchantment(Enchantment.PROTECTION_FIRE, 1);
            // 耐久 3 保护3 火焰保护1
            chain_leggings.addEnchantment(Enchantment.DURABILITY, 3);
            chain_leggings.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 3);
            chain_leggings.addEnchantment(Enchantment.PROTECTION_FIRE, 1);
            // 耐久 3 保护3 火焰保护1 摔落保护1
            chain_boots.addEnchantment(Enchantment.DURABILITY, 3);
            chain_boots.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 3);
            chain_boots.addEnchantment(Enchantment.PROTECTION_FIRE, 1);
            chain_boots.addEnchantment(Enchantment.PROTECTION_FALL, 1);
            // 锋利3 亡灵杀手2 耐久2 火焰附加1
            diamond_sword.addEnchantment(Enchantment.DAMAGE_ALL, 3);
            diamond_sword.addEnchantment(Enchantment.DAMAGE_UNDEAD, 2);
            diamond_sword.addEnchantment(Enchantment.DURABILITY, 2);
            diamond_sword.addEnchantment(Enchantment.FIRE_ASPECT, 1);
            ItemMeta itemMeta = diamond_sword.getItemMeta();
            itemMeta.setDisplayName(monster.getCustomName() + "持有武器");
            itemMeta.addAttributeModifier(Attribute.GENERIC_ATTACK_DAMAGE, new AttributeModifier("攻击增量", 20, AttributeModifier.Operation.ADD_NUMBER));
            itemMeta.addAttributeModifier(Attribute.GENERIC_LUCK, new AttributeModifier("幸运掉落", -100, AttributeModifier.Operation.ADD_NUMBER));
            diamond_sword.setItemMeta(itemMeta);
            // 设置装备
            equipment.setHelmet(chain_helmet);
            equipment.setChestplate(chain_chestplate);
            equipment.setLeggings(chain_leggings);
            equipment.setBoots(chain_boots);
            equipment.setItemInMainHand(diamond_sword);
            // 设置血量 攻击力
            monster.getAttribute(Attribute.GENERIC_MAX_HEALTH).setBaseValue(36);
            monster.getAttribute(Attribute.GENERIC_ATTACK_DAMAGE).setBaseValue(16);
        } else if (monster instanceof Hoglin) {
            monster.getAttribute(Attribute.GENERIC_MAX_HEALTH).setBaseValue(62);
            monster.getAttribute(Attribute.GENERIC_ATTACK_DAMAGE).setBaseValue(15);
        } else if (monster instanceof Drowned) {
            // 耐久 3 保护3 火焰保护1
            chain_helmet.addEnchantment(Enchantment.DURABILITY, 3);
            chain_helmet.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 3);
            chain_helmet.addEnchantment(Enchantment.PROTECTION_FIRE, 1);
            // 耐久 3 保护3 火焰保护1
            chain_chestplate.addEnchantment(Enchantment.DURABILITY, 3);
            chain_chestplate.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 3);
            chain_chestplate.addEnchantment(Enchantment.PROTECTION_FIRE, 1);
            // 耐久 3 保护3 火焰保护1
            chain_leggings.addEnchantment(Enchantment.DURABILITY, 3);
            chain_leggings.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 3);
            chain_leggings.addEnchantment(Enchantment.PROTECTION_FIRE, 1);
            // 耐久 3 保护3 火焰保护1 摔落保护1
            chain_boots.addEnchantment(Enchantment.DURABILITY, 3);
            chain_boots.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 3);
            chain_boots.addEnchantment(Enchantment.PROTECTION_FIRE, 1);
            chain_boots.addEnchantment(Enchantment.PROTECTION_FALL, 1);
            // 锋利3 亡灵杀手2 耐久2 火焰附加1
            diamond_sword.addEnchantment(Enchantment.DAMAGE_ALL, 3);
            diamond_sword.addEnchantment(Enchantment.DAMAGE_UNDEAD, 2);
            diamond_sword.addEnchantment(Enchantment.DURABILITY, 2);
            diamond_sword.addEnchantment(Enchantment.FIRE_ASPECT, 1);

            ItemMeta itemMeta = diamond_sword.getItemMeta();
            itemMeta.setDisplayName(monster.getCustomName() + "持有武器");
            itemMeta.addAttributeModifier(Attribute.GENERIC_ATTACK_DAMAGE, new AttributeModifier("攻击增量", 8, AttributeModifier.Operation.ADD_NUMBER));
            itemMeta.addAttributeModifier(Attribute.GENERIC_LUCK, new AttributeModifier("幸运掉落", -100, AttributeModifier.Operation.ADD_NUMBER));
            diamond_sword.setItemMeta(itemMeta);
            // 设置装备
            equipment.setHelmet(chain_helmet);
            equipment.setChestplate(chain_chestplate);
            equipment.setLeggings(chain_leggings);
            equipment.setBoots(chain_boots);
            equipment.setItemInMainHand(diamond_sword);
            // 设置血量 攻击力
            monster.getAttribute(Attribute.GENERIC_MAX_HEALTH).setBaseValue(36);
            monster.getAttribute(Attribute.GENERIC_ATTACK_DAMAGE).setBaseValue(10);
        } else if (monster instanceof Zoglin) {
            monster.getAttribute(Attribute.GENERIC_MAX_HEALTH).setBaseValue(62);
            monster.getAttribute(Attribute.GENERIC_ATTACK_DAMAGE).setBaseValue(15);
        } else if (monster instanceof ZombieVillager) {
            // 设置血量 攻击力
            monster.getAttribute(Attribute.GENERIC_MAX_HEALTH).setBaseValue(36);
            monster.getAttribute(Attribute.GENERIC_ATTACK_DAMAGE).setBaseValue(15);
        } else if (monster instanceof Husk) {
            // 耐久 3 保护3 火焰保护1
            chain_helmet.addEnchantment(Enchantment.DURABILITY, 3);
            chain_helmet.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 3);
            chain_helmet.addEnchantment(Enchantment.PROTECTION_FIRE, 1);
            // 耐久 3 保护3 火焰保护1
            chain_chestplate.addEnchantment(Enchantment.DURABILITY, 3);
            chain_chestplate.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 3);
            chain_chestplate.addEnchantment(Enchantment.PROTECTION_FIRE, 1);
            // 耐久 3 保护3 火焰保护1
            chain_leggings.addEnchantment(Enchantment.DURABILITY, 3);
            chain_leggings.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 3);
            chain_leggings.addEnchantment(Enchantment.PROTECTION_FIRE, 1);
            // 耐久 3 保护3 火焰保护1 摔落保护1
            chain_boots.addEnchantment(Enchantment.DURABILITY, 3);
            chain_boots.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 3);
            chain_boots.addEnchantment(Enchantment.PROTECTION_FIRE, 1);
            chain_boots.addEnchantment(Enchantment.PROTECTION_FALL, 1);
            // 锋利3 亡灵杀手2 耐久2 火焰附加1
            diamond_sword.addEnchantment(Enchantment.DAMAGE_ALL, 3);
            diamond_sword.addEnchantment(Enchantment.DAMAGE_UNDEAD, 2);
            diamond_sword.addEnchantment(Enchantment.DURABILITY, 2);
            diamond_sword.addEnchantment(Enchantment.FIRE_ASPECT, 1);
            ItemMeta itemMeta = diamond_sword.getItemMeta();
            itemMeta.setDisplayName(monster.getCustomName() + "持有武器");
            itemMeta.addAttributeModifier(Attribute.GENERIC_ATTACK_DAMAGE, new AttributeModifier("攻击增量", 8, AttributeModifier.Operation.ADD_NUMBER));
            itemMeta.addAttributeModifier(Attribute.GENERIC_LUCK, new AttributeModifier("幸运掉落", -100, AttributeModifier.Operation.ADD_NUMBER));
            diamond_sword.setItemMeta(itemMeta);
            // 设置装备
            equipment.setHelmet(chain_helmet);
            equipment.setChestplate(chain_chestplate);
            equipment.setLeggings(chain_leggings);
            equipment.setBoots(chain_boots);
            equipment.setItemInMainHand(diamond_sword);
            // 设置血量 攻击力
            monster.getAttribute(Attribute.GENERIC_MAX_HEALTH).setBaseValue(36);
            monster.getAttribute(Attribute.GENERIC_ATTACK_DAMAGE).setBaseValue(10);
        } else if (monster instanceof Stray) {
            // 耐久 3 保护3 火焰保护1
            chain_helmet.addEnchantment(Enchantment.DURABILITY, 3);
            chain_helmet.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 3);
            chain_helmet.addEnchantment(Enchantment.PROTECTION_FIRE, 1);
            // 耐久 3 保护3 火焰保护1
            chain_chestplate.addEnchantment(Enchantment.DURABILITY, 3);
            chain_chestplate.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 3);
            chain_chestplate.addEnchantment(Enchantment.PROTECTION_FIRE, 1);
            // 耐久 3 保护3 火焰保护1
            chain_leggings.addEnchantment(Enchantment.DURABILITY, 3);
            chain_leggings.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 3);
            chain_leggings.addEnchantment(Enchantment.PROTECTION_FIRE, 1);
            // 耐久 3 保护3 火焰保护1 摔落保护1
            chain_boots.addEnchantment(Enchantment.DURABILITY, 3);
            chain_boots.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 3);
            chain_boots.addEnchantment(Enchantment.PROTECTION_FIRE, 1);
            chain_boots.addEnchantment(Enchantment.PROTECTION_FALL, 1);
            // 锋利3 亡灵杀手2 耐久2 火焰附加1
            diamond_sword.addEnchantment(Enchantment.DAMAGE_ALL, 3);
            diamond_sword.addEnchantment(Enchantment.DAMAGE_UNDEAD, 2);
            diamond_sword.addEnchantment(Enchantment.DURABILITY, 2);
            diamond_sword.addEnchantment(Enchantment.FIRE_ASPECT, 1);
            ItemMeta itemMeta = diamond_sword.getItemMeta();
            itemMeta.setDisplayName(monster.getCustomName() + "持有武器");
            itemMeta.addAttributeModifier(Attribute.GENERIC_ATTACK_DAMAGE, new AttributeModifier("攻击增量", 8, AttributeModifier.Operation.ADD_NUMBER));
            itemMeta.addAttributeModifier(Attribute.GENERIC_LUCK, new AttributeModifier("幸运掉落", -100, AttributeModifier.Operation.ADD_NUMBER));
            diamond_sword.setItemMeta(itemMeta);
            // 设置装备
            equipment.setHelmet(chain_helmet);
            equipment.setChestplate(chain_chestplate);
            equipment.setLeggings(chain_leggings);
            equipment.setBoots(chain_boots);
            equipment.setItemInMainHand(diamond_sword);
            // 设置血量 攻击力
            monster.getAttribute(Attribute.GENERIC_MAX_HEALTH).setBaseValue(36);
            monster.getAttribute(Attribute.GENERIC_ATTACK_DAMAGE).setBaseValue(10);
        } else if (monster instanceof Zombie) {
            // 耐久 3 保护3 火焰保护1
            chain_helmet.addEnchantment(Enchantment.DURABILITY, 3);
            chain_helmet.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 3);
            chain_helmet.addEnchantment(Enchantment.PROTECTION_FIRE, 1);
            // 耐久 3 保护3 火焰保护1
            chain_chestplate.addEnchantment(Enchantment.DURABILITY, 3);
            chain_chestplate.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 3);
            chain_chestplate.addEnchantment(Enchantment.PROTECTION_FIRE, 1);
            // 耐久 3 保护3 火焰保护1
            chain_leggings.addEnchantment(Enchantment.DURABILITY, 3);
            chain_leggings.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 3);
            chain_leggings.addEnchantment(Enchantment.PROTECTION_FIRE, 1);
            // 耐久 3 保护3 火焰保护1 摔落保护1
            chain_boots.addEnchantment(Enchantment.DURABILITY, 3);
            chain_boots.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 3);
            chain_boots.addEnchantment(Enchantment.PROTECTION_FIRE, 1);
            chain_boots.addEnchantment(Enchantment.PROTECTION_FALL, 1);
            // 锋利3 亡灵杀手2 耐久2 火焰附加1
            diamond_sword.addEnchantment(Enchantment.DAMAGE_ALL, 3);
            diamond_sword.addEnchantment(Enchantment.DAMAGE_UNDEAD, 2);
            diamond_sword.addEnchantment(Enchantment.DURABILITY, 2);
            diamond_sword.addEnchantment(Enchantment.FIRE_ASPECT, 1);
            ItemMeta itemMeta = diamond_sword.getItemMeta();
            itemMeta.setDisplayName(monster.getCustomName() + "持有武器");
            itemMeta.addAttributeModifier(Attribute.GENERIC_ATTACK_DAMAGE, new AttributeModifier("攻击增量", 8, AttributeModifier.Operation.ADD_NUMBER));
            itemMeta.addAttributeModifier(Attribute.GENERIC_LUCK, new AttributeModifier("幸运掉落", -100, AttributeModifier.Operation.ADD_NUMBER));
            diamond_sword.setItemMeta(itemMeta);
            // 设置装备
            equipment.setHelmet(chain_helmet);
            equipment.setChestplate(chain_chestplate);
            equipment.setLeggings(chain_leggings);
            equipment.setBoots(chain_boots);
            equipment.setItemInMainHand(diamond_sword);
            // 设置血量 攻击力
            monster.getAttribute(Attribute.GENERIC_MAX_HEALTH).setBaseValue(36);
            monster.getAttribute(Attribute.GENERIC_ATTACK_DAMAGE).setBaseValue(10);
        } else if (monster instanceof WitherSkeleton) {
            // 耐久 3 保护3 火焰保护1
            chain_helmet.addEnchantment(Enchantment.DURABILITY, 3);
            chain_helmet.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 3);
            chain_helmet.addEnchantment(Enchantment.PROTECTION_FIRE, 1);
            // 耐久 3 保护3 火焰保护1
            chain_chestplate.addEnchantment(Enchantment.DURABILITY, 3);
            chain_chestplate.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 3);
            chain_chestplate.addEnchantment(Enchantment.PROTECTION_FIRE, 1);
            // 耐久 3 保护3 火焰保护1
            chain_leggings.addEnchantment(Enchantment.DURABILITY, 3);
            chain_leggings.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 3);
            chain_leggings.addEnchantment(Enchantment.PROTECTION_FIRE, 1);
            // 耐久 3 保护3 火焰保护1 摔落保护1
            chain_boots.addEnchantment(Enchantment.DURABILITY, 3);
            chain_boots.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 3);
            chain_boots.addEnchantment(Enchantment.PROTECTION_FIRE, 1);
            chain_boots.addEnchantment(Enchantment.PROTECTION_FALL, 1);
            // 锋利3 亡灵杀手2 耐久2 火焰附加1
            diamond_sword.addEnchantment(Enchantment.DAMAGE_ALL, 3);
            diamond_sword.addEnchantment(Enchantment.DAMAGE_UNDEAD, 2);
            diamond_sword.addEnchantment(Enchantment.DURABILITY, 2);
            diamond_sword.addEnchantment(Enchantment.FIRE_ASPECT, 1);
            ItemMeta itemMeta = diamond_sword.getItemMeta();
            itemMeta.setDisplayName(monster.getCustomName() + "持有武器");
            itemMeta.addAttributeModifier(Attribute.GENERIC_ATTACK_DAMAGE, new AttributeModifier("攻击增量", 15, AttributeModifier.Operation.ADD_NUMBER));
            itemMeta.addAttributeModifier(Attribute.GENERIC_LUCK, new AttributeModifier("幸运掉落", -100, AttributeModifier.Operation.ADD_NUMBER));
            diamond_sword.setItemMeta(itemMeta);
            // 设置装备
            equipment.setHelmet(chain_helmet);
            equipment.setChestplate(chain_chestplate);
            equipment.setLeggings(chain_leggings);
            equipment.setBoots(chain_boots);
            equipment.setItemInMainHand(diamond_sword);
            // 设置血量 攻击力
            monster.getAttribute(Attribute.GENERIC_MAX_HEALTH).setBaseValue(36);
            monster.getAttribute(Attribute.GENERIC_ATTACK_DAMAGE).setBaseValue(25);
        } else if (monster instanceof Skeleton) {
            // 耐久 3 保护3 火焰保护1
            chain_helmet.addEnchantment(Enchantment.DURABILITY, 3);
            chain_helmet.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 3);
            chain_helmet.addEnchantment(Enchantment.PROTECTION_FIRE, 1);
            // 耐久 3 保护3 火焰保护1
            chain_chestplate.addEnchantment(Enchantment.DURABILITY, 3);
            chain_chestplate.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 3);
            chain_chestplate.addEnchantment(Enchantment.PROTECTION_FIRE, 1);
            // 耐久 3 保护3 火焰保护1
            chain_leggings.addEnchantment(Enchantment.DURABILITY, 3);
            chain_leggings.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 3);
            chain_leggings.addEnchantment(Enchantment.PROTECTION_FIRE, 1);
            // 耐久 3 保护3 火焰保护1 摔落保护1
            chain_boots.addEnchantment(Enchantment.DURABILITY, 3);
            chain_boots.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 3);
            chain_boots.addEnchantment(Enchantment.PROTECTION_FIRE, 1);
            chain_boots.addEnchantment(Enchantment.PROTECTION_FALL, 1);
            // 耐久3 力量2 冲击2
            ItemStack bow = new ItemStack(Material.BOW);
            bow.addEnchantment(Enchantment.DURABILITY, 3);
            bow.addEnchantment(Enchantment.ARROW_DAMAGE, 2);
            bow.addEnchantment(Enchantment.ARROW_KNOCKBACK, 2);
            ItemMeta itemMeta = bow.getItemMeta();
            itemMeta.setDisplayName(monster.getCustomName() + "持有武器");
            itemMeta.addAttributeModifier(Attribute.GENERIC_ATTACK_DAMAGE, new AttributeModifier("攻击增量", 3, AttributeModifier.Operation.ADD_NUMBER));
            itemMeta.addAttributeModifier(Attribute.GENERIC_LUCK, new AttributeModifier("幸运掉落", -100, AttributeModifier.Operation.ADD_NUMBER));
            diamond_sword.setItemMeta(itemMeta);
            // 设置装备
            equipment.setHelmet(chain_helmet);
            equipment.setChestplate(chain_chestplate);
            equipment.setLeggings(chain_leggings);
            equipment.setBoots(chain_boots);
            equipment.setItemInMainHand(bow);
            // 设置血量 攻击力
            monster.getAttribute(Attribute.GENERIC_MAX_HEALTH).setBaseValue(36);
            monster.getAttribute(Attribute.GENERIC_ATTACK_DAMAGE).setBaseValue(10);
        } else if (monster instanceof Spider) {
            // 设置血量 攻击力
            monster.getAttribute(Attribute.GENERIC_MAX_HEALTH).setBaseValue(36);
            monster.getAttribute(Attribute.GENERIC_ATTACK_DAMAGE).setBaseValue(10);
        } else if (monster instanceof Creeper) {
            // 设置血量 攻击力
            monster.getAttribute(Attribute.GENERIC_MAX_HEALTH).setBaseValue(36);
            monster.getAttribute(Attribute.GENERIC_ATTACK_DAMAGE).setBaseValue(75);
        } else if (monster instanceof Enderman) {
            // 设置血量 攻击力
            monster.getAttribute(Attribute.GENERIC_MAX_HEALTH).setBaseValue(58);
            monster.getAttribute(Attribute.GENERIC_ATTACK_DAMAGE).setBaseValue(20);
        } else if (monster instanceof Piglin) {
            // 耐久 3 保护3 火焰保护1
            chain_helmet.addEnchantment(Enchantment.DURABILITY, 3);
            chain_helmet.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 3);
            chain_helmet.addEnchantment(Enchantment.PROTECTION_FIRE, 1);
            // 耐久 3 保护3 火焰保护1
            chain_chestplate.addEnchantment(Enchantment.DURABILITY, 3);
            chain_chestplate.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 3);
            chain_chestplate.addEnchantment(Enchantment.PROTECTION_FIRE, 1);
            // 耐久 3 保护3 火焰保护1
            chain_leggings.addEnchantment(Enchantment.DURABILITY, 3);
            chain_leggings.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 3);
            chain_leggings.addEnchantment(Enchantment.PROTECTION_FIRE, 1);
            // 耐久 3 保护3 火焰保护1 摔落保护1
            chain_boots.addEnchantment(Enchantment.DURABILITY, 3);
            chain_boots.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 3);
            chain_boots.addEnchantment(Enchantment.PROTECTION_FIRE, 1);
            chain_boots.addEnchantment(Enchantment.PROTECTION_FALL, 1);
            // 锋利3 亡灵杀手2 耐久2 火焰附加1
            diamond_sword.addEnchantment(Enchantment.DAMAGE_ALL, 3);
            diamond_sword.addEnchantment(Enchantment.DAMAGE_UNDEAD, 2);
            diamond_sword.addEnchantment(Enchantment.DURABILITY, 2);
            diamond_sword.addEnchantment(Enchantment.FIRE_ASPECT, 1);
            ItemMeta itemMeta = diamond_sword.getItemMeta();
            itemMeta.setDisplayName(monster.getCustomName() + "持有武器");
            itemMeta.addAttributeModifier(Attribute.GENERIC_ATTACK_DAMAGE, new AttributeModifier("攻击增量", 20, AttributeModifier.Operation.ADD_NUMBER));
            itemMeta.addAttributeModifier(Attribute.GENERIC_LUCK, new AttributeModifier("幸运掉落", -100, AttributeModifier.Operation.ADD_NUMBER));
            diamond_sword.setItemMeta(itemMeta);
            // 设置装备
            equipment.setHelmet(chain_helmet);
            equipment.setChestplate(chain_chestplate);
            equipment.setLeggings(chain_leggings);
            equipment.setBoots(chain_boots);
            equipment.setItemInMainHand(diamond_sword);
            // 设置血量 攻击力
            monster.getAttribute(Attribute.GENERIC_MAX_HEALTH).setBaseValue(36);
            monster.getAttribute(Attribute.GENERIC_ATTACK_DAMAGE).setBaseValue(16);
        } else if (monster instanceof Blaze) {
            monster.getAttribute(Attribute.GENERIC_MAX_HEALTH).setBaseValue(36);
            monster.getAttribute(Attribute.GENERIC_ATTACK_DAMAGE).setBaseValue(18);
        } else if (monster instanceof ElderGuardian) {
            monster.getAttribute(Attribute.GENERIC_MAX_HEALTH).setBaseValue(105);
            monster.getAttribute(Attribute.GENERIC_ATTACK_DAMAGE).setBaseValue(18);
        } else if (monster instanceof Guardian) {
            monster.getAttribute(Attribute.GENERIC_MAX_HEALTH).setBaseValue(55);
            monster.getAttribute(Attribute.GENERIC_ATTACK_DAMAGE).setBaseValue(16);
        } else if (monster instanceof Endermite) {
            monster.getAttribute(Attribute.GENERIC_MAX_HEALTH).setBaseValue(16);
            monster.getAttribute(Attribute.GENERIC_ATTACK_DAMAGE).setBaseValue(16);
        } else if (monster instanceof Evoker) {
            monster.getAttribute(Attribute.GENERIC_MAX_HEALTH).setBaseValue(45);
            monster.getAttribute(Attribute.GENERIC_ATTACK_DAMAGE).setBaseValue(16);
        } else if (monster instanceof Ghast) {
            monster.getAttribute(Attribute.GENERIC_MAX_HEALTH).setBaseValue(45);
            //monster.getAttribute(Attribute.GENERIC_ATTACK_DAMAGE).setBaseValue(30);
        } else if (monster instanceof MagmaCube) {
            monster.getAttribute(Attribute.GENERIC_MAX_HEALTH).setBaseValue(62);
            monster.getAttribute(Attribute.GENERIC_ATTACK_DAMAGE).setBaseValue(15);
        } else if (monster instanceof Slime) {
            monster.getAttribute(Attribute.GENERIC_MAX_HEALTH).setBaseValue(62);
            monster.getAttribute(Attribute.GENERIC_ATTACK_DAMAGE).setBaseValue(15);
        } else if (monster instanceof Vex) {
            monster.getAttribute(Attribute.GENERIC_MAX_HEALTH).setBaseValue(28);
            monster.getAttribute(Attribute.GENERIC_ATTACK_DAMAGE).setBaseValue(20);
        } else if (monster instanceof Vindicator) {
            monster.getAttribute(Attribute.GENERIC_MAX_HEALTH).setBaseValue(40);
            monster.getAttribute(Attribute.GENERIC_ATTACK_DAMAGE).setBaseValue(24);
        } else if (monster instanceof Witch) {
            monster.getAttribute(Attribute.GENERIC_MAX_HEALTH).setBaseValue(40);
            monster.getAttribute(Attribute.GENERIC_ATTACK_DAMAGE).setBaseValue(24);
        }
    }

    public void modifyOf5() {
        // 黄金头盔
        ItemStack gold_helmet = new ItemStack(Material.GOLDEN_HELMET);
        // 黄金盔甲
        ItemStack gold_chestplate = new ItemStack(Material.GOLDEN_CHESTPLATE);
        // 黄金护腿
        ItemStack gold_leggings = new ItemStack(Material.GOLDEN_LEGGINGS);
        // 黄金靴子
        ItemStack gold_boots = new ItemStack(Material.GOLDEN_BOOTS);
        // 钻石剑
        ItemStack diamond_sword = new ItemStack(Material.DIAMOND_SWORD);
        monster.setCustomName("§c[五阶] " + monsterName);
        monster.setCustomNameVisible(true);
        EntityEquipment equipment = monster.getEquipment();

        if (monster instanceof PigZombie) {
            // 耐久 3 保护3 火焰保护2 弹射物保护2
            gold_helmet.addEnchantment(Enchantment.DURABILITY, 3);
            gold_helmet.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 3);
            gold_helmet.addEnchantment(Enchantment.PROTECTION_FIRE, 2);
            gold_helmet.addEnchantment(Enchantment.PROTECTION_PROJECTILE, 2);
            // 耐久 3 保护3 火焰保护2 弹射物保护2
            gold_chestplate.addEnchantment(Enchantment.DURABILITY, 3);
            gold_chestplate.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 3);
            gold_chestplate.addEnchantment(Enchantment.PROTECTION_FIRE, 2);
            gold_chestplate.addEnchantment(Enchantment.PROTECTION_PROJECTILE, 2);
            // 耐久 3 保护3 火焰保护2 弹射物保护2
            gold_leggings.addEnchantment(Enchantment.DURABILITY, 3);
            gold_leggings.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 3);
            gold_leggings.addEnchantment(Enchantment.PROTECTION_FIRE, 2);
            gold_leggings.addEnchantment(Enchantment.PROTECTION_PROJECTILE, 2);
            // 耐久 3 保护3 火焰保护2 弹射物保护2 摔落保护1
            gold_boots.addEnchantment(Enchantment.DURABILITY, 3);
            gold_boots.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 3);
            gold_boots.addEnchantment(Enchantment.PROTECTION_FIRE, 2);
            gold_boots.addEnchantment(Enchantment.PROTECTION_FALL, 1);
            gold_boots.addEnchantment(Enchantment.PROTECTION_PROJECTILE, 2);
            // 锋利3 亡灵杀手3 节肢杀手2 耐久3 火焰附加1
            diamond_sword.addEnchantment(Enchantment.DAMAGE_ALL, 3);
            diamond_sword.addEnchantment(Enchantment.DAMAGE_UNDEAD, 3);
            diamond_sword.addEnchantment(Enchantment.DAMAGE_ARTHROPODS, 2);
            diamond_sword.addEnchantment(Enchantment.DURABILITY, 3);
            diamond_sword.addEnchantment(Enchantment.FIRE_ASPECT, 1);
            ItemMeta itemMeta = diamond_sword.getItemMeta();
            itemMeta.setDisplayName(monster.getCustomName() + "持有武器");
            itemMeta.addAttributeModifier(Attribute.GENERIC_ATTACK_DAMAGE, new AttributeModifier("攻击增量", 24, AttributeModifier.Operation.ADD_NUMBER));
            itemMeta.addAttributeModifier(Attribute.GENERIC_LUCK, new AttributeModifier("幸运掉落", -100, AttributeModifier.Operation.ADD_NUMBER));
            diamond_sword.setItemMeta(itemMeta);
            // 设置装备
            equipment.setHelmet(gold_helmet);
            equipment.setChestplate(gold_chestplate);
            equipment.setLeggings(gold_leggings);
            equipment.setBoots(gold_boots);
            equipment.setItemInMainHand(diamond_sword);
            // 设置血量 攻击力
            monster.getAttribute(Attribute.GENERIC_MAX_HEALTH).setBaseValue(40);
            monster.getAttribute(Attribute.GENERIC_ATTACK_DAMAGE).setBaseValue(20);
        } else if (monster instanceof Hoglin) {
            monster.getAttribute(Attribute.GENERIC_MAX_HEALTH).setBaseValue(66);
            monster.getAttribute(Attribute.GENERIC_ATTACK_DAMAGE).setBaseValue(17);
        } else if (monster instanceof Drowned) {
            // 耐久 3 保护3 火焰保护2 弹射物保护2
            gold_helmet.addEnchantment(Enchantment.DURABILITY, 3);
            gold_helmet.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 3);
            gold_helmet.addEnchantment(Enchantment.PROTECTION_FIRE, 2);
            gold_helmet.addEnchantment(Enchantment.PROTECTION_PROJECTILE, 2);
            // 耐久 3 保护3 火焰保护2 弹射物保护2
            gold_chestplate.addEnchantment(Enchantment.DURABILITY, 3);
            gold_chestplate.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 3);
            gold_chestplate.addEnchantment(Enchantment.PROTECTION_FIRE, 2);
            gold_chestplate.addEnchantment(Enchantment.PROTECTION_PROJECTILE, 2);
            // 耐久 3 保护3 火焰保护2 弹射物保护2
            gold_leggings.addEnchantment(Enchantment.DURABILITY, 3);
            gold_leggings.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 3);
            gold_leggings.addEnchantment(Enchantment.PROTECTION_FIRE, 2);
            gold_leggings.addEnchantment(Enchantment.PROTECTION_PROJECTILE, 2);
            // 耐久 3 保护3 火焰保护2 弹射物保护2 摔落保护1
            gold_boots.addEnchantment(Enchantment.DURABILITY, 3);
            gold_boots.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 3);
            gold_boots.addEnchantment(Enchantment.PROTECTION_FIRE, 2);
            gold_boots.addEnchantment(Enchantment.PROTECTION_FALL, 1);
            gold_boots.addEnchantment(Enchantment.PROTECTION_PROJECTILE, 2);
            // 锋利3 亡灵杀手3 节肢杀手2 耐久3 火焰附加1
            diamond_sword.addEnchantment(Enchantment.DAMAGE_ALL, 3);
            diamond_sword.addEnchantment(Enchantment.DAMAGE_UNDEAD, 3);
            diamond_sword.addEnchantment(Enchantment.DAMAGE_ARTHROPODS, 2);
            diamond_sword.addEnchantment(Enchantment.DURABILITY, 3);
            diamond_sword.addEnchantment(Enchantment.FIRE_ASPECT, 1);

            ItemMeta itemMeta = diamond_sword.getItemMeta();
            itemMeta.setDisplayName(monster.getCustomName() + "持有武器");
            itemMeta.addAttributeModifier(Attribute.GENERIC_ATTACK_DAMAGE, new AttributeModifier("攻击增量", 10, AttributeModifier.Operation.ADD_NUMBER));
            itemMeta.addAttributeModifier(Attribute.GENERIC_LUCK, new AttributeModifier("幸运掉落", -100, AttributeModifier.Operation.ADD_NUMBER));
            diamond_sword.setItemMeta(itemMeta);
            // 设置装备
            equipment.setHelmet(gold_helmet);
            equipment.setChestplate(gold_chestplate);
            equipment.setLeggings(gold_leggings);
            equipment.setBoots(gold_boots);
            equipment.setItemInMainHand(diamond_sword);
            // 设置血量 攻击力
            monster.getAttribute(Attribute.GENERIC_MAX_HEALTH).setBaseValue(40);
            monster.getAttribute(Attribute.GENERIC_ATTACK_DAMAGE).setBaseValue(15);
        } else if (monster instanceof Zoglin) {
            monster.getAttribute(Attribute.GENERIC_MAX_HEALTH).setBaseValue(66);
            monster.getAttribute(Attribute.GENERIC_ATTACK_DAMAGE).setBaseValue(17);
        } else if (monster instanceof ZombieVillager) {
            // 设置血量 攻击力
            monster.getAttribute(Attribute.GENERIC_MAX_HEALTH).setBaseValue(40);
            monster.getAttribute(Attribute.GENERIC_ATTACK_DAMAGE).setBaseValue(17);
        } else if (monster instanceof Husk) {
            // 耐久 3 保护3 火焰保护2 弹射物保护2
            gold_helmet.addEnchantment(Enchantment.DURABILITY, 3);
            gold_helmet.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 3);
            gold_helmet.addEnchantment(Enchantment.PROTECTION_FIRE, 2);
            gold_helmet.addEnchantment(Enchantment.PROTECTION_PROJECTILE, 2);
            // 耐久 3 保护3 火焰保护2 弹射物保护2
            gold_chestplate.addEnchantment(Enchantment.DURABILITY, 3);
            gold_chestplate.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 3);
            gold_chestplate.addEnchantment(Enchantment.PROTECTION_FIRE, 2);
            gold_chestplate.addEnchantment(Enchantment.PROTECTION_PROJECTILE, 2);
            // 耐久 3 保护3 火焰保护2 弹射物保护2
            gold_leggings.addEnchantment(Enchantment.DURABILITY, 3);
            gold_leggings.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 3);
            gold_leggings.addEnchantment(Enchantment.PROTECTION_FIRE, 2);
            gold_leggings.addEnchantment(Enchantment.PROTECTION_PROJECTILE, 2);
            // 耐久 3 保护3 火焰保护2 弹射物保护2 摔落保护1
            gold_boots.addEnchantment(Enchantment.DURABILITY, 3);
            gold_boots.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 3);
            gold_boots.addEnchantment(Enchantment.PROTECTION_FIRE, 2);
            gold_boots.addEnchantment(Enchantment.PROTECTION_FALL, 1);
            gold_boots.addEnchantment(Enchantment.PROTECTION_PROJECTILE, 2);
            // 锋利3 亡灵杀手3 节肢杀手2 耐久3 火焰附加1
            diamond_sword.addEnchantment(Enchantment.DAMAGE_ALL, 3);
            diamond_sword.addEnchantment(Enchantment.DAMAGE_UNDEAD, 3);
            diamond_sword.addEnchantment(Enchantment.DAMAGE_ARTHROPODS, 2);
            diamond_sword.addEnchantment(Enchantment.DURABILITY, 3);
            diamond_sword.addEnchantment(Enchantment.FIRE_ASPECT, 1);
            ItemMeta itemMeta = diamond_sword.getItemMeta();
            itemMeta.setDisplayName(monster.getCustomName() + "持有武器");
            itemMeta.addAttributeModifier(Attribute.GENERIC_ATTACK_DAMAGE, new AttributeModifier("攻击增量", 10, AttributeModifier.Operation.ADD_NUMBER));
            itemMeta.addAttributeModifier(Attribute.GENERIC_LUCK, new AttributeModifier("幸运掉落", -100, AttributeModifier.Operation.ADD_NUMBER));
            diamond_sword.setItemMeta(itemMeta);
            // 设置装备
            equipment.setHelmet(gold_helmet);
            equipment.setChestplate(gold_chestplate);
            equipment.setLeggings(gold_leggings);
            equipment.setBoots(gold_boots);
            equipment.setItemInMainHand(diamond_sword);
            // 设置血量 攻击力
            monster.getAttribute(Attribute.GENERIC_MAX_HEALTH).setBaseValue(40);
            monster.getAttribute(Attribute.GENERIC_ATTACK_DAMAGE).setBaseValue(15);
        } else if (monster instanceof Stray) {
            // 耐久 3 保护3 火焰保护2 弹射物保护2
            gold_helmet.addEnchantment(Enchantment.DURABILITY, 3);
            gold_helmet.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 3);
            gold_helmet.addEnchantment(Enchantment.PROTECTION_FIRE, 2);
            gold_helmet.addEnchantment(Enchantment.PROTECTION_PROJECTILE, 2);
            // 耐久 3 保护3 火焰保护2 弹射物保护2
            gold_chestplate.addEnchantment(Enchantment.DURABILITY, 3);
            gold_chestplate.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 3);
            gold_chestplate.addEnchantment(Enchantment.PROTECTION_FIRE, 2);
            gold_chestplate.addEnchantment(Enchantment.PROTECTION_PROJECTILE, 2);
            // 耐久 3 保护3 火焰保护2 弹射物保护2
            gold_leggings.addEnchantment(Enchantment.DURABILITY, 3);
            gold_leggings.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 3);
            gold_leggings.addEnchantment(Enchantment.PROTECTION_FIRE, 2);
            gold_leggings.addEnchantment(Enchantment.PROTECTION_PROJECTILE, 2);
            // 耐久 3 保护3 火焰保护2 弹射物保护2 摔落保护1
            gold_boots.addEnchantment(Enchantment.DURABILITY, 3);
            gold_boots.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 3);
            gold_boots.addEnchantment(Enchantment.PROTECTION_FIRE, 2);
            gold_boots.addEnchantment(Enchantment.PROTECTION_FALL, 1);
            gold_boots.addEnchantment(Enchantment.PROTECTION_PROJECTILE, 2);
            // 锋利3 亡灵杀手3 节肢杀手2 耐久3 火焰附加1
            diamond_sword.addEnchantment(Enchantment.DAMAGE_ALL, 3);
            diamond_sword.addEnchantment(Enchantment.DAMAGE_UNDEAD, 3);
            diamond_sword.addEnchantment(Enchantment.DAMAGE_ARTHROPODS, 2);
            diamond_sword.addEnchantment(Enchantment.DURABILITY, 3);
            diamond_sword.addEnchantment(Enchantment.FIRE_ASPECT, 1);
            ItemMeta itemMeta = diamond_sword.getItemMeta();
            itemMeta.setDisplayName(monster.getCustomName() + "持有武器");
            itemMeta.addAttributeModifier(Attribute.GENERIC_ATTACK_DAMAGE, new AttributeModifier("攻击增量", 10, AttributeModifier.Operation.ADD_NUMBER));
            itemMeta.addAttributeModifier(Attribute.GENERIC_LUCK, new AttributeModifier("幸运掉落", -100, AttributeModifier.Operation.ADD_NUMBER));
            diamond_sword.setItemMeta(itemMeta);
            // 设置装备
            equipment.setHelmet(gold_helmet);
            equipment.setChestplate(gold_chestplate);
            equipment.setLeggings(gold_leggings);
            equipment.setBoots(gold_boots);
            equipment.setItemInMainHand(diamond_sword);
            // 设置血量 攻击力
            monster.getAttribute(Attribute.GENERIC_MAX_HEALTH).setBaseValue(40);
            monster.getAttribute(Attribute.GENERIC_ATTACK_DAMAGE).setBaseValue(15);
        } else if (monster instanceof Zombie) {
            // 耐久 3 保护3 火焰保护2 弹射物保护2
            gold_helmet.addEnchantment(Enchantment.DURABILITY, 3);
            gold_helmet.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 3);
            gold_helmet.addEnchantment(Enchantment.PROTECTION_FIRE, 2);
            gold_helmet.addEnchantment(Enchantment.PROTECTION_PROJECTILE, 2);
            // 耐久 3 保护3 火焰保护2 弹射物保护2
            gold_chestplate.addEnchantment(Enchantment.DURABILITY, 3);
            gold_chestplate.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 3);
            gold_chestplate.addEnchantment(Enchantment.PROTECTION_FIRE, 2);
            gold_chestplate.addEnchantment(Enchantment.PROTECTION_PROJECTILE, 2);
            // 耐久 3 保护3 火焰保护2 弹射物保护2
            gold_leggings.addEnchantment(Enchantment.DURABILITY, 3);
            gold_leggings.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 3);
            gold_leggings.addEnchantment(Enchantment.PROTECTION_FIRE, 2);
            gold_leggings.addEnchantment(Enchantment.PROTECTION_PROJECTILE, 2);
            // 耐久 3 保护3 火焰保护2 弹射物保护2 摔落保护1
            gold_boots.addEnchantment(Enchantment.DURABILITY, 3);
            gold_boots.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 3);
            gold_boots.addEnchantment(Enchantment.PROTECTION_FIRE, 2);
            gold_boots.addEnchantment(Enchantment.PROTECTION_FALL, 1);
            gold_boots.addEnchantment(Enchantment.PROTECTION_PROJECTILE, 2);
            // 锋利3 亡灵杀手3 节肢杀手2 耐久3 火焰附加1
            diamond_sword.addEnchantment(Enchantment.DAMAGE_ALL, 3);
            diamond_sword.addEnchantment(Enchantment.DAMAGE_UNDEAD, 3);
            diamond_sword.addEnchantment(Enchantment.DAMAGE_ARTHROPODS, 2);
            diamond_sword.addEnchantment(Enchantment.DURABILITY, 3);
            diamond_sword.addEnchantment(Enchantment.FIRE_ASPECT, 1);
            ItemMeta itemMeta = diamond_sword.getItemMeta();
            itemMeta.setDisplayName(monster.getCustomName() + "持有武器");
            itemMeta.addAttributeModifier(Attribute.GENERIC_ATTACK_DAMAGE, new AttributeModifier("攻击增量", 10, AttributeModifier.Operation.ADD_NUMBER));
            itemMeta.addAttributeModifier(Attribute.GENERIC_LUCK, new AttributeModifier("幸运掉落", -100, AttributeModifier.Operation.ADD_NUMBER));
            diamond_sword.setItemMeta(itemMeta);
            // 设置装备
            equipment.setHelmet(gold_helmet);
            equipment.setChestplate(gold_chestplate);
            equipment.setLeggings(gold_leggings);
            equipment.setBoots(gold_boots);
            equipment.setItemInMainHand(diamond_sword);
            // 设置血量 攻击力
            monster.getAttribute(Attribute.GENERIC_MAX_HEALTH).setBaseValue(40);
            monster.getAttribute(Attribute.GENERIC_ATTACK_DAMAGE).setBaseValue(15);
        } else if (monster instanceof WitherSkeleton) {
            // 耐久 3 保护3 火焰保护2 弹射物保护2
            gold_helmet.addEnchantment(Enchantment.DURABILITY, 3);
            gold_helmet.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 3);
            gold_helmet.addEnchantment(Enchantment.PROTECTION_FIRE, 2);
            gold_helmet.addEnchantment(Enchantment.PROTECTION_PROJECTILE, 2);
            // 耐久 3 保护3 火焰保护2 弹射物保护2
            gold_chestplate.addEnchantment(Enchantment.DURABILITY, 3);
            gold_chestplate.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 3);
            gold_chestplate.addEnchantment(Enchantment.PROTECTION_FIRE, 2);
            gold_chestplate.addEnchantment(Enchantment.PROTECTION_PROJECTILE, 2);
            // 耐久 3 保护3 火焰保护2 弹射物保护2
            gold_leggings.addEnchantment(Enchantment.DURABILITY, 3);
            gold_leggings.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 3);
            gold_leggings.addEnchantment(Enchantment.PROTECTION_FIRE, 2);
            gold_leggings.addEnchantment(Enchantment.PROTECTION_PROJECTILE, 2);
            // 耐久 3 保护3 火焰保护2 弹射物保护2 摔落保护1
            gold_boots.addEnchantment(Enchantment.DURABILITY, 3);
            gold_boots.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 3);
            gold_boots.addEnchantment(Enchantment.PROTECTION_FIRE, 2);
            gold_boots.addEnchantment(Enchantment.PROTECTION_FALL, 1);
            gold_boots.addEnchantment(Enchantment.PROTECTION_PROJECTILE, 2);
            // 锋利3 亡灵杀手3 节肢杀手2 耐久3 火焰附加1
            diamond_sword.addEnchantment(Enchantment.DAMAGE_ALL, 3);
            diamond_sword.addEnchantment(Enchantment.DAMAGE_UNDEAD, 3);
            diamond_sword.addEnchantment(Enchantment.DAMAGE_ARTHROPODS, 2);
            diamond_sword.addEnchantment(Enchantment.DURABILITY, 3);
            diamond_sword.addEnchantment(Enchantment.FIRE_ASPECT, 1);
            ItemMeta itemMeta = diamond_sword.getItemMeta();
            itemMeta.setDisplayName(monster.getCustomName() + "持有武器");
            itemMeta.addAttributeModifier(Attribute.GENERIC_ATTACK_DAMAGE, new AttributeModifier("攻击增量", 20, AttributeModifier.Operation.ADD_NUMBER));
            itemMeta.addAttributeModifier(Attribute.GENERIC_LUCK, new AttributeModifier("幸运掉落", -100, AttributeModifier.Operation.ADD_NUMBER));
            diamond_sword.setItemMeta(itemMeta);
            // 设置装备
            equipment.setHelmet(gold_helmet);
            equipment.setChestplate(gold_chestplate);
            equipment.setLeggings(gold_leggings);
            equipment.setBoots(gold_boots);
            equipment.setItemInMainHand(diamond_sword);
            // 设置血量 攻击力
            monster.getAttribute(Attribute.GENERIC_MAX_HEALTH).setBaseValue(40);
            monster.getAttribute(Attribute.GENERIC_ATTACK_DAMAGE).setBaseValue(30);
        } else if (monster instanceof Skeleton) {
            // 耐久 3 保护3 火焰保护2 弹射物保护2
            gold_helmet.addEnchantment(Enchantment.DURABILITY, 3);
            gold_helmet.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 3);
            gold_helmet.addEnchantment(Enchantment.PROTECTION_FIRE, 2);
            gold_helmet.addEnchantment(Enchantment.PROTECTION_PROJECTILE, 2);
            // 耐久 3 保护3 火焰保护2 弹射物保护2
            gold_chestplate.addEnchantment(Enchantment.DURABILITY, 3);
            gold_chestplate.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 3);
            gold_chestplate.addEnchantment(Enchantment.PROTECTION_FIRE, 2);
            gold_chestplate.addEnchantment(Enchantment.PROTECTION_PROJECTILE, 2);
            // 耐久 3 保护3 火焰保护2 弹射物保护2
            gold_leggings.addEnchantment(Enchantment.DURABILITY, 3);
            gold_leggings.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 3);
            gold_leggings.addEnchantment(Enchantment.PROTECTION_FIRE, 2);
            gold_leggings.addEnchantment(Enchantment.PROTECTION_PROJECTILE, 2);
            // 耐久 3 保护3 火焰保护2 弹射物保护2 摔落保护1
            gold_boots.addEnchantment(Enchantment.DURABILITY, 3);
            gold_boots.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 3);
            gold_boots.addEnchantment(Enchantment.PROTECTION_FIRE, 2);
            gold_boots.addEnchantment(Enchantment.PROTECTION_FALL, 1);
            gold_boots.addEnchantment(Enchantment.PROTECTION_PROJECTILE, 2);
            // 耐久3 力量3 冲击2
            ItemStack bow = new ItemStack(Material.BOW);
            bow.addEnchantment(Enchantment.DURABILITY, 3);
            bow.addEnchantment(Enchantment.ARROW_DAMAGE, 3);
            bow.addEnchantment(Enchantment.ARROW_KNOCKBACK, 2);
            ItemMeta itemMeta = bow.getItemMeta();
            itemMeta.setDisplayName(monster.getCustomName() + "持有武器");
            itemMeta.addAttributeModifier(Attribute.GENERIC_ATTACK_DAMAGE, new AttributeModifier("攻击增量", 3, AttributeModifier.Operation.ADD_NUMBER));
            itemMeta.addAttributeModifier(Attribute.GENERIC_LUCK, new AttributeModifier("幸运掉落", -100, AttributeModifier.Operation.ADD_NUMBER));
            diamond_sword.setItemMeta(itemMeta);
            // 设置装备
            equipment.setHelmet(gold_helmet);
            equipment.setChestplate(gold_chestplate);
            equipment.setLeggings(gold_leggings);
            equipment.setBoots(gold_boots);
            equipment.setItemInMainHand(bow);
            // 设置血量 攻击力
            monster.getAttribute(Attribute.GENERIC_MAX_HEALTH).setBaseValue(40);
            monster.getAttribute(Attribute.GENERIC_ATTACK_DAMAGE).setBaseValue(15);
        } else if (monster instanceof Spider) {
            // 设置血量 攻击力
            monster.getAttribute(Attribute.GENERIC_MAX_HEALTH).setBaseValue(40);
            monster.getAttribute(Attribute.GENERIC_ATTACK_DAMAGE).setBaseValue(15);
        } else if (monster instanceof Creeper) {
            // 设置血量 攻击力
            monster.getAttribute(Attribute.GENERIC_MAX_HEALTH).setBaseValue(40);
            monster.getAttribute(Attribute.GENERIC_ATTACK_DAMAGE).setBaseValue(80);
        } else if (monster instanceof Enderman) {
            // 设置血量 攻击力
            monster.getAttribute(Attribute.GENERIC_MAX_HEALTH).setBaseValue(62);
            monster.getAttribute(Attribute.GENERIC_ATTACK_DAMAGE).setBaseValue(22);
        } else if (monster instanceof Piglin) {
            // 耐久 3 保护3 火焰保护2 弹射物保护2
            gold_helmet.addEnchantment(Enchantment.DURABILITY, 3);
            gold_helmet.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 3);
            gold_helmet.addEnchantment(Enchantment.PROTECTION_FIRE, 2);
            gold_helmet.addEnchantment(Enchantment.PROTECTION_PROJECTILE, 2);
            // 耐久 3 保护3 火焰保护2 弹射物保护2
            gold_chestplate.addEnchantment(Enchantment.DURABILITY, 3);
            gold_chestplate.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 3);
            gold_chestplate.addEnchantment(Enchantment.PROTECTION_FIRE, 2);
            gold_chestplate.addEnchantment(Enchantment.PROTECTION_PROJECTILE, 2);
            // 耐久 3 保护3 火焰保护2 弹射物保护2
            gold_leggings.addEnchantment(Enchantment.DURABILITY, 3);
            gold_leggings.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 3);
            gold_leggings.addEnchantment(Enchantment.PROTECTION_FIRE, 2);
            gold_leggings.addEnchantment(Enchantment.PROTECTION_PROJECTILE, 2);
            // 耐久 3 保护3 火焰保护2 弹射物保护2 摔落保护1
            gold_boots.addEnchantment(Enchantment.DURABILITY, 3);
            gold_boots.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 3);
            gold_boots.addEnchantment(Enchantment.PROTECTION_FIRE, 2);
            gold_boots.addEnchantment(Enchantment.PROTECTION_FALL, 1);
            gold_boots.addEnchantment(Enchantment.PROTECTION_PROJECTILE, 2);
            // 锋利3 亡灵杀手3 节肢杀手2 耐久3 火焰附加1
            diamond_sword.addEnchantment(Enchantment.DAMAGE_ALL, 3);
            diamond_sword.addEnchantment(Enchantment.DAMAGE_UNDEAD, 3);
            diamond_sword.addEnchantment(Enchantment.DAMAGE_ARTHROPODS, 2);
            diamond_sword.addEnchantment(Enchantment.DURABILITY, 3);
            diamond_sword.addEnchantment(Enchantment.FIRE_ASPECT, 1);
            ItemMeta itemMeta = diamond_sword.getItemMeta();
            itemMeta.setDisplayName(monster.getCustomName() + "持有武器");
            itemMeta.addAttributeModifier(Attribute.GENERIC_ATTACK_DAMAGE, new AttributeModifier("攻击增量", 24, AttributeModifier.Operation.ADD_NUMBER));
            itemMeta.addAttributeModifier(Attribute.GENERIC_LUCK, new AttributeModifier("幸运掉落", -100, AttributeModifier.Operation.ADD_NUMBER));
            diamond_sword.setItemMeta(itemMeta);
            // 设置装备
            equipment.setHelmet(gold_helmet);
            equipment.setChestplate(gold_chestplate);
            equipment.setLeggings(gold_leggings);
            equipment.setBoots(gold_boots);
            equipment.setItemInMainHand(diamond_sword);
            // 设置血量 攻击力
            monster.getAttribute(Attribute.GENERIC_MAX_HEALTH).setBaseValue(40);
            monster.getAttribute(Attribute.GENERIC_ATTACK_DAMAGE).setBaseValue(20);
        } else if (monster instanceof Blaze) {
            monster.getAttribute(Attribute.GENERIC_MAX_HEALTH).setBaseValue(40);
            monster.getAttribute(Attribute.GENERIC_ATTACK_DAMAGE).setBaseValue(20);
        } else if (monster instanceof ElderGuardian) {
            monster.getAttribute(Attribute.GENERIC_MAX_HEALTH).setBaseValue(110);
            monster.getAttribute(Attribute.GENERIC_ATTACK_DAMAGE).setBaseValue(20);
        } else if (monster instanceof Guardian) {
            monster.getAttribute(Attribute.GENERIC_MAX_HEALTH).setBaseValue(60);
            monster.getAttribute(Attribute.GENERIC_ATTACK_DAMAGE).setBaseValue(20);
        } else if (monster instanceof Endermite) {
            monster.getAttribute(Attribute.GENERIC_MAX_HEALTH).setBaseValue(18);
            monster.getAttribute(Attribute.GENERIC_ATTACK_DAMAGE).setBaseValue(20);
        } else if (monster instanceof Evoker) {
            monster.getAttribute(Attribute.GENERIC_MAX_HEALTH).setBaseValue(50);
            monster.getAttribute(Attribute.GENERIC_ATTACK_DAMAGE).setBaseValue(20);
        } else if (monster instanceof Ghast) {
            monster.getAttribute(Attribute.GENERIC_MAX_HEALTH).setBaseValue(50);
            //monster.getAttribute(Attribute.GENERIC_ATTACK_DAMAGE).setBaseValue(34);
        } else if (monster instanceof MagmaCube) {
            monster.getAttribute(Attribute.GENERIC_MAX_HEALTH).setBaseValue(66);
            monster.getAttribute(Attribute.GENERIC_ATTACK_DAMAGE).setBaseValue(17);
        } else if (monster instanceof Slime) {
            monster.getAttribute(Attribute.GENERIC_MAX_HEALTH).setBaseValue(66);
            monster.getAttribute(Attribute.GENERIC_ATTACK_DAMAGE).setBaseValue(17);
        } else if (monster instanceof Vex) {
            monster.getAttribute(Attribute.GENERIC_MAX_HEALTH).setBaseValue(30);
            monster.getAttribute(Attribute.GENERIC_ATTACK_DAMAGE).setBaseValue(22);
        } else if (monster instanceof Vindicator) {
            monster.getAttribute(Attribute.GENERIC_MAX_HEALTH).setBaseValue(44);
            monster.getAttribute(Attribute.GENERIC_ATTACK_DAMAGE).setBaseValue(26);
        } else if (monster instanceof Witch) {
            monster.getAttribute(Attribute.GENERIC_MAX_HEALTH).setBaseValue(44);
            monster.getAttribute(Attribute.GENERIC_ATTACK_DAMAGE).setBaseValue(26);
        }
    }

    public void modifyOf6() {
        // 黄金头盔
        ItemStack gold_helmet = new ItemStack(Material.GOLDEN_HELMET);
        // 黄金盔甲
        ItemStack gold_chestplate = new ItemStack(Material.GOLDEN_CHESTPLATE);
        // 黄金护腿
        ItemStack gold_leggings = new ItemStack(Material.GOLDEN_LEGGINGS);
        // 黄金靴子
        ItemStack gold_boots = new ItemStack(Material.GOLDEN_BOOTS);
        // 钻石剑
        ItemStack diamond_sword = new ItemStack(Material.DIAMOND_SWORD);
        monster.setCustomName("§c[六阶] " + monsterName);
        monster.setCustomNameVisible(true);
        EntityEquipment equipment = monster.getEquipment();

        if (monster instanceof PigZombie) {
            // 耐久 3 保护4 火焰保护3 弹射物保护2
            gold_helmet.addEnchantment(Enchantment.DURABILITY, 3);
            gold_helmet.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 4);
            gold_helmet.addEnchantment(Enchantment.PROTECTION_FIRE, 3);
            gold_helmet.addEnchantment(Enchantment.PROTECTION_PROJECTILE, 2);
            // 耐久 3 保护4 火焰保护3 弹射物保护2 荆棘2
            gold_chestplate.addEnchantment(Enchantment.DURABILITY, 3);
            gold_chestplate.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 4);
            gold_chestplate.addEnchantment(Enchantment.PROTECTION_FIRE, 3);
            gold_chestplate.addEnchantment(Enchantment.PROTECTION_PROJECTILE, 2);
            gold_chestplate.addEnchantment(Enchantment.THORNS, 2);
            // 耐久 3 保护4 火焰保护2 弹射物保护2
            gold_leggings.addEnchantment(Enchantment.DURABILITY, 3);
            gold_leggings.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 4);
            gold_leggings.addEnchantment(Enchantment.PROTECTION_FIRE, 3);
            gold_leggings.addEnchantment(Enchantment.PROTECTION_PROJECTILE, 2);
            // 耐久 3 保护4 火焰保护2 弹射物保护2 摔落保护1
            gold_boots.addEnchantment(Enchantment.DURABILITY, 3);
            gold_boots.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 4);
            gold_boots.addEnchantment(Enchantment.PROTECTION_FIRE, 3);
            gold_boots.addEnchantment(Enchantment.PROTECTION_FALL, 1);
            gold_boots.addEnchantment(Enchantment.PROTECTION_PROJECTILE, 2);
            // 锋利4 亡灵杀手4 节肢杀手4 耐久3 火焰附加1
            diamond_sword.addEnchantment(Enchantment.DAMAGE_ALL, 4);
            diamond_sword.addEnchantment(Enchantment.DAMAGE_UNDEAD, 4);
            diamond_sword.addEnchantment(Enchantment.DAMAGE_ARTHROPODS, 4);
            diamond_sword.addEnchantment(Enchantment.DURABILITY, 3);
            diamond_sword.addEnchantment(Enchantment.FIRE_ASPECT, 1);
            ItemMeta itemMeta = diamond_sword.getItemMeta();
            itemMeta.setDisplayName(monster.getCustomName() + "持有武器");
            itemMeta.addAttributeModifier(Attribute.GENERIC_ATTACK_DAMAGE, new AttributeModifier("攻击增量", 28, AttributeModifier.Operation.ADD_NUMBER));
            itemMeta.addAttributeModifier(Attribute.GENERIC_LUCK, new AttributeModifier("幸运掉落", -100, AttributeModifier.Operation.ADD_NUMBER));
            diamond_sword.setItemMeta(itemMeta);
            // 设置装备
            equipment.setHelmet(gold_helmet);
            equipment.setChestplate(gold_chestplate);
            equipment.setLeggings(gold_leggings);
            equipment.setBoots(gold_boots);
            equipment.setItemInMainHand(diamond_sword);
            // 设置血量 攻击力
            monster.getAttribute(Attribute.GENERIC_MAX_HEALTH).setBaseValue(45);
            monster.getAttribute(Attribute.GENERIC_ATTACK_DAMAGE).setBaseValue(22);
        } else if (monster instanceof Hoglin) {
            monster.getAttribute(Attribute.GENERIC_MAX_HEALTH).setBaseValue(70);
            monster.getAttribute(Attribute.GENERIC_ATTACK_DAMAGE).setBaseValue(20);
        } else if (monster instanceof Drowned) {
            // 耐久 3 保护4 火焰保护3 弹射物保护2
            gold_helmet.addEnchantment(Enchantment.DURABILITY, 3);
            gold_helmet.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 4);
            gold_helmet.addEnchantment(Enchantment.PROTECTION_FIRE, 3);
            gold_helmet.addEnchantment(Enchantment.PROTECTION_PROJECTILE, 2);
            // 耐久 3 保护4 火焰保护3 弹射物保护2 荆棘2
            gold_chestplate.addEnchantment(Enchantment.DURABILITY, 3);
            gold_chestplate.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 4);
            gold_chestplate.addEnchantment(Enchantment.PROTECTION_FIRE, 3);
            gold_chestplate.addEnchantment(Enchantment.PROTECTION_PROJECTILE, 2);
            gold_chestplate.addEnchantment(Enchantment.THORNS, 2);
            // 耐久 3 保护4 火焰保护2 弹射物保护2
            gold_leggings.addEnchantment(Enchantment.DURABILITY, 3);
            gold_leggings.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 4);
            gold_leggings.addEnchantment(Enchantment.PROTECTION_FIRE, 3);
            gold_leggings.addEnchantment(Enchantment.PROTECTION_PROJECTILE, 2);
            // 耐久 3 保护4 火焰保护2 弹射物保护2 摔落保护1
            gold_boots.addEnchantment(Enchantment.DURABILITY, 3);
            gold_boots.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 4);
            gold_boots.addEnchantment(Enchantment.PROTECTION_FIRE, 3);
            gold_boots.addEnchantment(Enchantment.PROTECTION_FALL, 1);
            gold_boots.addEnchantment(Enchantment.PROTECTION_PROJECTILE, 2);
            // 锋利4 亡灵杀手4 节肢杀手4 耐久3 火焰附加1
            diamond_sword.addEnchantment(Enchantment.DAMAGE_ALL, 4);
            diamond_sword.addEnchantment(Enchantment.DAMAGE_UNDEAD, 4);
            diamond_sword.addEnchantment(Enchantment.DAMAGE_ARTHROPODS, 4);
            diamond_sword.addEnchantment(Enchantment.DURABILITY, 3);
            diamond_sword.addEnchantment(Enchantment.FIRE_ASPECT, 1);

            ItemMeta itemMeta = diamond_sword.getItemMeta();
            itemMeta.setDisplayName(monster.getCustomName() + "持有武器");
            itemMeta.addAttributeModifier(Attribute.GENERIC_ATTACK_DAMAGE, new AttributeModifier("攻击增量", 10, AttributeModifier.Operation.ADD_NUMBER));
            itemMeta.addAttributeModifier(Attribute.GENERIC_LUCK, new AttributeModifier("幸运掉落", -100, AttributeModifier.Operation.ADD_NUMBER));
            diamond_sword.setItemMeta(itemMeta);
            // 设置装备
            equipment.setHelmet(gold_helmet);
            equipment.setChestplate(gold_chestplate);
            equipment.setLeggings(gold_leggings);
            equipment.setBoots(gold_boots);
            equipment.setItemInMainHand(diamond_sword);
            // 设置血量 攻击力
            monster.getAttribute(Attribute.GENERIC_MAX_HEALTH).setBaseValue(45);
            monster.getAttribute(Attribute.GENERIC_ATTACK_DAMAGE).setBaseValue(18);
        } else if (monster instanceof Zoglin) {
            monster.getAttribute(Attribute.GENERIC_MAX_HEALTH).setBaseValue(70);
            monster.getAttribute(Attribute.GENERIC_ATTACK_DAMAGE).setBaseValue(20);
        } else if (monster instanceof ZombieVillager) {
            // 设置血量 攻击力
            monster.getAttribute(Attribute.GENERIC_MAX_HEALTH).setBaseValue(43);
            monster.getAttribute(Attribute.GENERIC_ATTACK_DAMAGE).setBaseValue(20);
        } else if (monster instanceof Husk) {
            // 耐久 3 保护4 火焰保护3 弹射物保护2
            gold_helmet.addEnchantment(Enchantment.DURABILITY, 3);
            gold_helmet.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 4);
            gold_helmet.addEnchantment(Enchantment.PROTECTION_FIRE, 3);
            gold_helmet.addEnchantment(Enchantment.PROTECTION_PROJECTILE, 2);
            // 耐久 3 保护4 火焰保护3 弹射物保护2 荆棘2
            gold_chestplate.addEnchantment(Enchantment.DURABILITY, 3);
            gold_chestplate.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 4);
            gold_chestplate.addEnchantment(Enchantment.PROTECTION_FIRE, 3);
            gold_chestplate.addEnchantment(Enchantment.PROTECTION_PROJECTILE, 2);
            gold_chestplate.addEnchantment(Enchantment.THORNS, 2);
            // 耐久 3 保护4 火焰保护2 弹射物保护2
            gold_leggings.addEnchantment(Enchantment.DURABILITY, 3);
            gold_leggings.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 4);
            gold_leggings.addEnchantment(Enchantment.PROTECTION_FIRE, 3);
            gold_leggings.addEnchantment(Enchantment.PROTECTION_PROJECTILE, 2);
            // 耐久 3 保护4 火焰保护2 弹射物保护2 摔落保护1
            gold_boots.addEnchantment(Enchantment.DURABILITY, 3);
            gold_boots.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 4);
            gold_boots.addEnchantment(Enchantment.PROTECTION_FIRE, 3);
            gold_boots.addEnchantment(Enchantment.PROTECTION_FALL, 1);
            gold_boots.addEnchantment(Enchantment.PROTECTION_PROJECTILE, 2);
            // 锋利4 亡灵杀手4 节肢杀手4 耐久3 火焰附加1
            diamond_sword.addEnchantment(Enchantment.DAMAGE_ALL, 4);
            diamond_sword.addEnchantment(Enchantment.DAMAGE_UNDEAD, 4);
            diamond_sword.addEnchantment(Enchantment.DAMAGE_ARTHROPODS, 4);
            diamond_sword.addEnchantment(Enchantment.DURABILITY, 3);
            diamond_sword.addEnchantment(Enchantment.FIRE_ASPECT, 1);
            ItemMeta itemMeta = diamond_sword.getItemMeta();
            itemMeta.setDisplayName(monster.getCustomName() + "持有武器");
            itemMeta.addAttributeModifier(Attribute.GENERIC_ATTACK_DAMAGE, new AttributeModifier("攻击增量", 10, AttributeModifier.Operation.ADD_NUMBER));
            itemMeta.addAttributeModifier(Attribute.GENERIC_LUCK, new AttributeModifier("幸运掉落", -100, AttributeModifier.Operation.ADD_NUMBER));
            diamond_sword.setItemMeta(itemMeta);
            // 设置装备
            equipment.setHelmet(gold_helmet);
            equipment.setChestplate(gold_chestplate);
            equipment.setLeggings(gold_leggings);
            equipment.setBoots(gold_boots);
            equipment.setItemInMainHand(diamond_sword);
            // 设置血量 攻击力
            monster.getAttribute(Attribute.GENERIC_MAX_HEALTH).setBaseValue(45);
            monster.getAttribute(Attribute.GENERIC_ATTACK_DAMAGE).setBaseValue(18);
        } else if (monster instanceof Stray) {
            // 耐久 3 保护4 火焰保护3 弹射物保护2
            gold_helmet.addEnchantment(Enchantment.DURABILITY, 3);
            gold_helmet.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 4);
            gold_helmet.addEnchantment(Enchantment.PROTECTION_FIRE, 3);
            gold_helmet.addEnchantment(Enchantment.PROTECTION_PROJECTILE, 2);
            // 耐久 3 保护4 火焰保护3 弹射物保护2 荆棘2
            gold_chestplate.addEnchantment(Enchantment.DURABILITY, 3);
            gold_chestplate.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 4);
            gold_chestplate.addEnchantment(Enchantment.PROTECTION_FIRE, 3);
            gold_chestplate.addEnchantment(Enchantment.PROTECTION_PROJECTILE, 2);
            gold_chestplate.addEnchantment(Enchantment.THORNS, 2);
            // 耐久 3 保护4 火焰保护2 弹射物保护2
            gold_leggings.addEnchantment(Enchantment.DURABILITY, 3);
            gold_leggings.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 4);
            gold_leggings.addEnchantment(Enchantment.PROTECTION_FIRE, 3);
            gold_leggings.addEnchantment(Enchantment.PROTECTION_PROJECTILE, 2);
            // 耐久 3 保护4 火焰保护2 弹射物保护2 摔落保护1
            gold_boots.addEnchantment(Enchantment.DURABILITY, 3);
            gold_boots.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 4);
            gold_boots.addEnchantment(Enchantment.PROTECTION_FIRE, 3);
            gold_boots.addEnchantment(Enchantment.PROTECTION_FALL, 1);
            gold_boots.addEnchantment(Enchantment.PROTECTION_PROJECTILE, 2);
            // 锋利4 亡灵杀手4 节肢杀手4 耐久3 火焰附加1
            diamond_sword.addEnchantment(Enchantment.DAMAGE_ALL, 4);
            diamond_sword.addEnchantment(Enchantment.DAMAGE_UNDEAD, 4);
            diamond_sword.addEnchantment(Enchantment.DAMAGE_ARTHROPODS, 4);
            diamond_sword.addEnchantment(Enchantment.DURABILITY, 3);
            diamond_sword.addEnchantment(Enchantment.FIRE_ASPECT, 1);
            ItemMeta itemMeta = diamond_sword.getItemMeta();
            itemMeta.setDisplayName(monster.getCustomName() + "持有武器");
            itemMeta.addAttributeModifier(Attribute.GENERIC_ATTACK_DAMAGE, new AttributeModifier("攻击增量", 10, AttributeModifier.Operation.ADD_NUMBER));
            itemMeta.addAttributeModifier(Attribute.GENERIC_LUCK, new AttributeModifier("幸运掉落", -100, AttributeModifier.Operation.ADD_NUMBER));
            diamond_sword.setItemMeta(itemMeta);
            // 设置装备
            equipment.setHelmet(gold_helmet);
            equipment.setChestplate(gold_chestplate);
            equipment.setLeggings(gold_leggings);
            equipment.setBoots(gold_boots);
            equipment.setItemInMainHand(diamond_sword);
            // 设置血量 攻击力
            monster.getAttribute(Attribute.GENERIC_MAX_HEALTH).setBaseValue(45);
            monster.getAttribute(Attribute.GENERIC_ATTACK_DAMAGE).setBaseValue(18);
        } else if (monster instanceof Zombie) {
            // 耐久 3 保护4 火焰保护3 弹射物保护2
            gold_helmet.addEnchantment(Enchantment.DURABILITY, 3);
            gold_helmet.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 4);
            gold_helmet.addEnchantment(Enchantment.PROTECTION_FIRE, 3);
            gold_helmet.addEnchantment(Enchantment.PROTECTION_PROJECTILE, 2);
            // 耐久 3 保护4 火焰保护3 弹射物保护2 荆棘2
            gold_chestplate.addEnchantment(Enchantment.DURABILITY, 3);
            gold_chestplate.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 4);
            gold_chestplate.addEnchantment(Enchantment.PROTECTION_FIRE, 3);
            gold_chestplate.addEnchantment(Enchantment.PROTECTION_PROJECTILE, 2);
            gold_chestplate.addEnchantment(Enchantment.THORNS, 2);
            // 耐久 3 保护4 火焰保护2 弹射物保护2
            gold_leggings.addEnchantment(Enchantment.DURABILITY, 3);
            gold_leggings.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 4);
            gold_leggings.addEnchantment(Enchantment.PROTECTION_FIRE, 3);
            gold_leggings.addEnchantment(Enchantment.PROTECTION_PROJECTILE, 2);
            // 耐久 3 保护4 火焰保护2 弹射物保护2 摔落保护1
            gold_boots.addEnchantment(Enchantment.DURABILITY, 3);
            gold_boots.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 4);
            gold_boots.addEnchantment(Enchantment.PROTECTION_FIRE, 3);
            gold_boots.addEnchantment(Enchantment.PROTECTION_FALL, 1);
            gold_boots.addEnchantment(Enchantment.PROTECTION_PROJECTILE, 2);
            // 锋利4 亡灵杀手4 节肢杀手4 耐久3 火焰附加1
            diamond_sword.addEnchantment(Enchantment.DAMAGE_ALL, 4);
            diamond_sword.addEnchantment(Enchantment.DAMAGE_UNDEAD, 4);
            diamond_sword.addEnchantment(Enchantment.DAMAGE_ARTHROPODS, 4);
            diamond_sword.addEnchantment(Enchantment.DURABILITY, 3);
            diamond_sword.addEnchantment(Enchantment.FIRE_ASPECT, 1);
            ItemMeta itemMeta = diamond_sword.getItemMeta();
            itemMeta.setDisplayName(monster.getCustomName() + "持有武器");
            itemMeta.addAttributeModifier(Attribute.GENERIC_ATTACK_DAMAGE, new AttributeModifier("攻击增量", 10, AttributeModifier.Operation.ADD_NUMBER));
            itemMeta.addAttributeModifier(Attribute.GENERIC_LUCK, new AttributeModifier("幸运掉落", -100, AttributeModifier.Operation.ADD_NUMBER));
            diamond_sword.setItemMeta(itemMeta);
            // 设置装备
            equipment.setHelmet(gold_helmet);
            equipment.setChestplate(gold_chestplate);
            equipment.setLeggings(gold_leggings);
            equipment.setBoots(gold_boots);
            equipment.setItemInMainHand(diamond_sword);
            // 设置血量 攻击力
            monster.getAttribute(Attribute.GENERIC_MAX_HEALTH).setBaseValue(45);
            monster.getAttribute(Attribute.GENERIC_ATTACK_DAMAGE).setBaseValue(18);
        } else if (monster instanceof WitherSkeleton) {
            // 耐久 3 保护4 火焰保护3 弹射物保护2
            gold_helmet.addEnchantment(Enchantment.DURABILITY, 3);
            gold_helmet.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 4);
            gold_helmet.addEnchantment(Enchantment.PROTECTION_FIRE, 3);
            gold_helmet.addEnchantment(Enchantment.PROTECTION_PROJECTILE, 2);
            // 耐久 3 保护4 火焰保护3 弹射物保护2 荆棘2
            gold_chestplate.addEnchantment(Enchantment.DURABILITY, 3);
            gold_chestplate.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 4);
            gold_chestplate.addEnchantment(Enchantment.PROTECTION_FIRE, 3);
            gold_chestplate.addEnchantment(Enchantment.PROTECTION_PROJECTILE, 2);
            gold_chestplate.addEnchantment(Enchantment.THORNS, 2);
            // 耐久 3 保护4 火焰保护2 弹射物保护2
            gold_leggings.addEnchantment(Enchantment.DURABILITY, 3);
            gold_leggings.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 4);
            gold_leggings.addEnchantment(Enchantment.PROTECTION_FIRE, 3);
            gold_leggings.addEnchantment(Enchantment.PROTECTION_PROJECTILE, 2);
            // 耐久 3 保护4 火焰保护2 弹射物保护2 摔落保护1
            gold_boots.addEnchantment(Enchantment.DURABILITY, 3);
            gold_boots.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 4);
            gold_boots.addEnchantment(Enchantment.PROTECTION_FIRE, 3);
            gold_boots.addEnchantment(Enchantment.PROTECTION_FALL, 1);
            gold_boots.addEnchantment(Enchantment.PROTECTION_PROJECTILE, 2);
            // 锋利4 亡灵杀手4 节肢杀手4 耐久3 火焰附加1
            diamond_sword.addEnchantment(Enchantment.DAMAGE_ALL, 4);
            diamond_sword.addEnchantment(Enchantment.DAMAGE_UNDEAD, 4);
            diamond_sword.addEnchantment(Enchantment.DAMAGE_ARTHROPODS, 4);
            diamond_sword.addEnchantment(Enchantment.DURABILITY, 3);
            diamond_sword.addEnchantment(Enchantment.FIRE_ASPECT, 1);
            ItemMeta itemMeta = diamond_sword.getItemMeta();
            itemMeta.setDisplayName(monster.getCustomName() + "持有武器");
            itemMeta.addAttributeModifier(Attribute.GENERIC_ATTACK_DAMAGE, new AttributeModifier("攻击增量", 25, AttributeModifier.Operation.ADD_NUMBER));
            itemMeta.addAttributeModifier(Attribute.GENERIC_LUCK, new AttributeModifier("幸运掉落", -100, AttributeModifier.Operation.ADD_NUMBER));
            diamond_sword.setItemMeta(itemMeta);
            // 设置装备
            equipment.setHelmet(gold_helmet);
            equipment.setChestplate(gold_chestplate);
            equipment.setLeggings(gold_leggings);
            equipment.setBoots(gold_boots);
            equipment.setItemInMainHand(diamond_sword);
            // 设置血量 攻击力
            monster.getAttribute(Attribute.GENERIC_MAX_HEALTH).setBaseValue(45);
            monster.getAttribute(Attribute.GENERIC_ATTACK_DAMAGE).setBaseValue(35);
        } else if (monster instanceof Skeleton) {
            // 耐久 3 保护4 火焰保护3 弹射物保护2
            gold_helmet.addEnchantment(Enchantment.DURABILITY, 3);
            gold_helmet.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 4);
            gold_helmet.addEnchantment(Enchantment.PROTECTION_FIRE, 3);
            gold_helmet.addEnchantment(Enchantment.PROTECTION_PROJECTILE, 2);
            // 耐久 3 保护4 火焰保护3 弹射物保护2 荆棘2
            gold_chestplate.addEnchantment(Enchantment.DURABILITY, 3);
            gold_chestplate.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 4);
            gold_chestplate.addEnchantment(Enchantment.PROTECTION_FIRE, 3);
            gold_chestplate.addEnchantment(Enchantment.PROTECTION_PROJECTILE, 2);
            gold_chestplate.addEnchantment(Enchantment.THORNS, 2);
            // 耐久 3 保护4 火焰保护2 弹射物保护2
            gold_leggings.addEnchantment(Enchantment.DURABILITY, 3);
            gold_leggings.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 4);
            gold_leggings.addEnchantment(Enchantment.PROTECTION_FIRE, 3);
            gold_leggings.addEnchantment(Enchantment.PROTECTION_PROJECTILE, 2);
            // 耐久 3 保护4 火焰保护2 弹射物保护2 摔落保护1
            gold_boots.addEnchantment(Enchantment.DURABILITY, 3);
            gold_boots.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 4);
            gold_boots.addEnchantment(Enchantment.PROTECTION_FIRE, 3);
            gold_boots.addEnchantment(Enchantment.PROTECTION_FALL, 1);
            gold_boots.addEnchantment(Enchantment.PROTECTION_PROJECTILE, 2);
            // 耐久3 力量4 冲击2
            ItemStack bow = new ItemStack(Material.BOW);
            bow.addEnchantment(Enchantment.DURABILITY, 3);
            bow.addEnchantment(Enchantment.ARROW_DAMAGE, 4);
            bow.addEnchantment(Enchantment.ARROW_KNOCKBACK, 2);
            ItemMeta itemMeta = bow.getItemMeta();
            itemMeta.setDisplayName(monster.getCustomName() + "持有武器");
            itemMeta.addAttributeModifier(Attribute.GENERIC_ATTACK_DAMAGE, new AttributeModifier("攻击增量", 4, AttributeModifier.Operation.ADD_NUMBER));
            itemMeta.addAttributeModifier(Attribute.GENERIC_LUCK, new AttributeModifier("幸运掉落", -100, AttributeModifier.Operation.ADD_NUMBER));
            diamond_sword.setItemMeta(itemMeta);
            // 设置装备
            equipment.setHelmet(gold_helmet);
            equipment.setChestplate(gold_chestplate);
            equipment.setLeggings(gold_leggings);
            equipment.setBoots(gold_boots);
            equipment.setItemInMainHand(bow);
            // 设置血量 攻击力
            monster.getAttribute(Attribute.GENERIC_MAX_HEALTH).setBaseValue(45);
            monster.getAttribute(Attribute.GENERIC_ATTACK_DAMAGE).setBaseValue(18);
        } else if (monster instanceof Spider) {
            // 设置血量 攻击力
            monster.getAttribute(Attribute.GENERIC_MAX_HEALTH).setBaseValue(45);
            monster.getAttribute(Attribute.GENERIC_ATTACK_DAMAGE).setBaseValue(18);
        } else if (monster instanceof Creeper) {
            // 设置血量 攻击力
            monster.getAttribute(Attribute.GENERIC_MAX_HEALTH).setBaseValue(45);
            monster.getAttribute(Attribute.GENERIC_ATTACK_DAMAGE).setBaseValue(110);
            ((Creeper)monster).setPowered(true);
        } else if (monster instanceof Enderman) {
            // 设置血量 攻击力
            monster.getAttribute(Attribute.GENERIC_MAX_HEALTH).setBaseValue(68);
            monster.getAttribute(Attribute.GENERIC_ATTACK_DAMAGE).setBaseValue(25);
        } else if (monster instanceof Piglin) {
            // 耐久 3 保护4 火焰保护3 弹射物保护2
            gold_helmet.addEnchantment(Enchantment.DURABILITY, 3);
            gold_helmet.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 4);
            gold_helmet.addEnchantment(Enchantment.PROTECTION_FIRE, 3);
            gold_helmet.addEnchantment(Enchantment.PROTECTION_PROJECTILE, 2);
            // 耐久 3 保护4 火焰保护3 弹射物保护2 荆棘2
            gold_chestplate.addEnchantment(Enchantment.DURABILITY, 3);
            gold_chestplate.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 4);
            gold_chestplate.addEnchantment(Enchantment.PROTECTION_FIRE, 3);
            gold_chestplate.addEnchantment(Enchantment.PROTECTION_PROJECTILE, 2);
            gold_chestplate.addEnchantment(Enchantment.THORNS, 2);
            // 耐久 3 保护4 火焰保护2 弹射物保护2
            gold_leggings.addEnchantment(Enchantment.DURABILITY, 3);
            gold_leggings.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 4);
            gold_leggings.addEnchantment(Enchantment.PROTECTION_FIRE, 3);
            gold_leggings.addEnchantment(Enchantment.PROTECTION_PROJECTILE, 2);
            // 耐久 3 保护4 火焰保护2 弹射物保护2 摔落保护1
            gold_boots.addEnchantment(Enchantment.DURABILITY, 3);
            gold_boots.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 4);
            gold_boots.addEnchantment(Enchantment.PROTECTION_FIRE, 3);
            gold_boots.addEnchantment(Enchantment.PROTECTION_FALL, 1);
            gold_boots.addEnchantment(Enchantment.PROTECTION_PROJECTILE, 2);
            // 锋利4 亡灵杀手4 节肢杀手4 耐久3 火焰附加1
            diamond_sword.addEnchantment(Enchantment.DAMAGE_ALL, 4);
            diamond_sword.addEnchantment(Enchantment.DAMAGE_UNDEAD, 4);
            diamond_sword.addEnchantment(Enchantment.DAMAGE_ARTHROPODS, 4);
            diamond_sword.addEnchantment(Enchantment.DURABILITY, 3);
            diamond_sword.addEnchantment(Enchantment.FIRE_ASPECT, 1);
            ItemMeta itemMeta = diamond_sword.getItemMeta();
            itemMeta.setDisplayName(monster.getCustomName() + "持有武器");
            itemMeta.addAttributeModifier(Attribute.GENERIC_ATTACK_DAMAGE, new AttributeModifier("攻击增量", 28, AttributeModifier.Operation.ADD_NUMBER));
            itemMeta.addAttributeModifier(Attribute.GENERIC_LUCK, new AttributeModifier("幸运掉落", -100, AttributeModifier.Operation.ADD_NUMBER));
            diamond_sword.setItemMeta(itemMeta);
            // 设置装备
            equipment.setHelmet(gold_helmet);
            equipment.setChestplate(gold_chestplate);
            equipment.setLeggings(gold_leggings);
            equipment.setBoots(gold_boots);
            equipment.setItemInMainHand(diamond_sword);
            // 设置血量 攻击力
            monster.getAttribute(Attribute.GENERIC_MAX_HEALTH).setBaseValue(45);
            monster.getAttribute(Attribute.GENERIC_ATTACK_DAMAGE).setBaseValue(22);
        } else if (monster instanceof Blaze) {
            monster.getAttribute(Attribute.GENERIC_MAX_HEALTH).setBaseValue(45);
            monster.getAttribute(Attribute.GENERIC_ATTACK_DAMAGE).setBaseValue(22);
        } else if (monster instanceof ElderGuardian) {
            monster.getAttribute(Attribute.GENERIC_MAX_HEALTH).setBaseValue(120);
            monster.getAttribute(Attribute.GENERIC_ATTACK_DAMAGE).setBaseValue(22);
        } else if (monster instanceof Guardian) {
            monster.getAttribute(Attribute.GENERIC_MAX_HEALTH).setBaseValue(65);
            monster.getAttribute(Attribute.GENERIC_ATTACK_DAMAGE).setBaseValue(22);
        } else if (monster instanceof Endermite) {
            monster.getAttribute(Attribute.GENERIC_MAX_HEALTH).setBaseValue(20);
            monster.getAttribute(Attribute.GENERIC_ATTACK_DAMAGE).setBaseValue(22);
        } else if (monster instanceof Evoker) {
            monster.getAttribute(Attribute.GENERIC_MAX_HEALTH).setBaseValue(55);
            monster.getAttribute(Attribute.GENERIC_ATTACK_DAMAGE).setBaseValue(22);
        } else if (monster instanceof Ghast) {
            monster.getAttribute(Attribute.GENERIC_MAX_HEALTH).setBaseValue(55);
            //monster.getAttribute(Attribute.GENERIC_ATTACK_DAMAGE).setBaseValue(36);
        } else if (monster instanceof MagmaCube) {
            monster.getAttribute(Attribute.GENERIC_MAX_HEALTH).setBaseValue(70);
            monster.getAttribute(Attribute.GENERIC_ATTACK_DAMAGE).setBaseValue(20);
        } else if (monster instanceof Slime) {
            monster.getAttribute(Attribute.GENERIC_MAX_HEALTH).setBaseValue(70);
            monster.getAttribute(Attribute.GENERIC_ATTACK_DAMAGE).setBaseValue(20);
        } else if (monster instanceof Vex) {
            monster.getAttribute(Attribute.GENERIC_MAX_HEALTH).setBaseValue(33);
            monster.getAttribute(Attribute.GENERIC_ATTACK_DAMAGE).setBaseValue(25);
        } else if (monster instanceof Vindicator) {
            monster.getAttribute(Attribute.GENERIC_MAX_HEALTH).setBaseValue(50);
            monster.getAttribute(Attribute.GENERIC_ATTACK_DAMAGE).setBaseValue(27);
        } else if (monster instanceof Witch) {
            monster.getAttribute(Attribute.GENERIC_MAX_HEALTH).setBaseValue(50);
            monster.getAttribute(Attribute.GENERIC_ATTACK_DAMAGE).setBaseValue(27);
        }
    }

    public void modifyOf7() {
        // 钻石头盔
        ItemStack diamond_helmet = new ItemStack(Material.DIAMOND_HELMET);
        // 钻石盔甲
        ItemStack diamond_chestplate = new ItemStack(Material.DIAMOND_CHESTPLATE);
        // 钻石护腿
        ItemStack diamond_leggings = new ItemStack(Material.DIAMOND_LEGGINGS);
        // 钻石靴子
        ItemStack diamond_boots = new ItemStack(Material.DIAMOND_BOOTS);
        // 钻石剑
        ItemStack diamond_sword = new ItemStack(Material.DIAMOND_SWORD);
        monster.setCustomName("§c[七阶] " + monsterName);
        monster.setCustomNameVisible(true);
        EntityEquipment equipment = monster.getEquipment();

        if (monster instanceof PigZombie) {
            // 耐久 3 保护4 火焰保护3 弹射物保护3 爆炸保护3
            diamond_helmet.addEnchantment(Enchantment.DURABILITY, 3);
            diamond_helmet.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 4);
            diamond_helmet.addEnchantment(Enchantment.PROTECTION_FIRE, 3);
            diamond_helmet.addEnchantment(Enchantment.PROTECTION_PROJECTILE, 3);
            diamond_helmet.addEnchantment(Enchantment.PROTECTION_EXPLOSIONS, 3);
            // 耐久 3 保护4 火焰保护3 弹射物保护3 爆炸保护3 荆棘3
            diamond_chestplate.addEnchantment(Enchantment.DURABILITY, 3);
            diamond_chestplate.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 4);
            diamond_chestplate.addEnchantment(Enchantment.PROTECTION_FIRE, 3);
            diamond_chestplate.addEnchantment(Enchantment.PROTECTION_PROJECTILE, 3);
            diamond_chestplate.addEnchantment(Enchantment.THORNS, 3);
            diamond_chestplate.addEnchantment(Enchantment.PROTECTION_EXPLOSIONS, 3);
            // 耐久 3 保护4 火焰保护3 弹射物保护3 爆炸保护3
            diamond_leggings.addEnchantment(Enchantment.DURABILITY, 3);
            diamond_leggings.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 4);
            diamond_leggings.addEnchantment(Enchantment.PROTECTION_FIRE, 3);
            diamond_leggings.addEnchantment(Enchantment.PROTECTION_PROJECTILE, 3);
            diamond_leggings.addEnchantment(Enchantment.PROTECTION_EXPLOSIONS, 3);
            // 耐久 3 保护4 火焰保护3 弹射物保护3 摔落保护3 爆炸保护3
            diamond_boots.addEnchantment(Enchantment.DURABILITY, 3);
            diamond_boots.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 4);
            diamond_boots.addEnchantment(Enchantment.PROTECTION_FIRE, 3);
            diamond_boots.addEnchantment(Enchantment.PROTECTION_FALL, 3);
            diamond_boots.addEnchantment(Enchantment.PROTECTION_PROJECTILE, 3);
            diamond_boots.addEnchantment(Enchantment.PROTECTION_EXPLOSIONS, 3);
            // 锋利4 亡灵杀手4 节肢杀手4 耐久3 火焰附加2 击退2
            diamond_sword.addEnchantment(Enchantment.DAMAGE_ALL, 4);
            diamond_sword.addEnchantment(Enchantment.DAMAGE_UNDEAD, 4);
            diamond_sword.addEnchantment(Enchantment.DAMAGE_ARTHROPODS, 4);
            diamond_sword.addEnchantment(Enchantment.DURABILITY, 3);
            diamond_sword.addEnchantment(Enchantment.FIRE_ASPECT, 2);
            diamond_sword.addEnchantment(Enchantment.KNOCKBACK, 2);
            ItemMeta itemMeta = diamond_sword.getItemMeta();
            itemMeta.setDisplayName(monster.getCustomName() + "持有武器");
            itemMeta.addAttributeModifier(Attribute.GENERIC_ATTACK_DAMAGE, new AttributeModifier("攻击增量", 32, AttributeModifier.Operation.ADD_NUMBER));
            itemMeta.addAttributeModifier(Attribute.GENERIC_LUCK, new AttributeModifier("幸运掉落", -100, AttributeModifier.Operation.ADD_NUMBER));
            diamond_sword.setItemMeta(itemMeta);
            // 设置装备
            equipment.setHelmet(diamond_helmet);
            equipment.setChestplate(diamond_chestplate);
            equipment.setLeggings(diamond_leggings);
            equipment.setBoots(diamond_boots);
            equipment.setItemInMainHand(diamond_sword);
            // 设置血量 攻击力
            monster.getAttribute(Attribute.GENERIC_MAX_HEALTH).setBaseValue(50);
            monster.getAttribute(Attribute.GENERIC_ATTACK_DAMAGE).setBaseValue(23);
        } else if (monster instanceof Hoglin) {
            monster.getAttribute(Attribute.GENERIC_MAX_HEALTH).setBaseValue(80);
            monster.getAttribute(Attribute.GENERIC_ATTACK_DAMAGE).setBaseValue(25);
        } else if (monster instanceof Drowned) {
            // 耐久 3 保护4 火焰保护3 弹射物保护3 爆炸保护3
            diamond_helmet.addEnchantment(Enchantment.DURABILITY, 3);
            diamond_helmet.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 4);
            diamond_helmet.addEnchantment(Enchantment.PROTECTION_FIRE, 3);
            diamond_helmet.addEnchantment(Enchantment.PROTECTION_PROJECTILE, 3);
            diamond_helmet.addEnchantment(Enchantment.PROTECTION_EXPLOSIONS, 3);
            // 耐久 3 保护4 火焰保护3 弹射物保护3 爆炸保护3 荆棘3
            diamond_chestplate.addEnchantment(Enchantment.DURABILITY, 3);
            diamond_chestplate.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 4);
            diamond_chestplate.addEnchantment(Enchantment.PROTECTION_FIRE, 3);
            diamond_chestplate.addEnchantment(Enchantment.PROTECTION_PROJECTILE, 3);
            diamond_chestplate.addEnchantment(Enchantment.THORNS, 3);
            diamond_chestplate.addEnchantment(Enchantment.PROTECTION_EXPLOSIONS, 3);
            // 耐久 3 保护4 火焰保护3 弹射物保护3 爆炸保护3
            diamond_leggings.addEnchantment(Enchantment.DURABILITY, 3);
            diamond_leggings.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 4);
            diamond_leggings.addEnchantment(Enchantment.PROTECTION_FIRE, 3);
            diamond_leggings.addEnchantment(Enchantment.PROTECTION_PROJECTILE, 3);
            diamond_leggings.addEnchantment(Enchantment.PROTECTION_EXPLOSIONS, 3);
            // 耐久 3 保护4 火焰保护3 弹射物保护3 摔落保护3 爆炸保护3
            diamond_boots.addEnchantment(Enchantment.DURABILITY, 3);
            diamond_boots.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 4);
            diamond_boots.addEnchantment(Enchantment.PROTECTION_FIRE, 3);
            diamond_boots.addEnchantment(Enchantment.PROTECTION_FALL, 3);
            diamond_boots.addEnchantment(Enchantment.PROTECTION_PROJECTILE, 3);
            diamond_boots.addEnchantment(Enchantment.PROTECTION_EXPLOSIONS, 3);
            // 锋利4 亡灵杀手4 节肢杀手4 耐久3 火焰附加2 击退2
            diamond_sword.addEnchantment(Enchantment.DAMAGE_ALL, 4);
            diamond_sword.addEnchantment(Enchantment.DAMAGE_UNDEAD, 4);
            diamond_sword.addEnchantment(Enchantment.DAMAGE_ARTHROPODS, 4);
            diamond_sword.addEnchantment(Enchantment.DURABILITY, 3);
            diamond_sword.addEnchantment(Enchantment.FIRE_ASPECT, 2);
            diamond_sword.addEnchantment(Enchantment.KNOCKBACK, 2);

            ItemMeta itemMeta = diamond_sword.getItemMeta();
            itemMeta.setDisplayName(monster.getCustomName() + "持有武器");
            itemMeta.addAttributeModifier(Attribute.GENERIC_ATTACK_DAMAGE, new AttributeModifier("攻击增量", 12, AttributeModifier.Operation.ADD_NUMBER));
            itemMeta.addAttributeModifier(Attribute.GENERIC_LUCK, new AttributeModifier("幸运掉落", -100, AttributeModifier.Operation.ADD_NUMBER));
            diamond_sword.setItemMeta(itemMeta);
            // 设置装备
            equipment.setHelmet(diamond_helmet);
            equipment.setChestplate(diamond_chestplate);
            equipment.setLeggings(diamond_leggings);
            equipment.setBoots(diamond_boots);
            equipment.setItemInMainHand(diamond_sword);
            // 设置血量 攻击力
            monster.getAttribute(Attribute.GENERIC_MAX_HEALTH).setBaseValue(50);
            monster.getAttribute(Attribute.GENERIC_ATTACK_DAMAGE).setBaseValue(20);
        } else if (monster instanceof Zoglin) {
            monster.getAttribute(Attribute.GENERIC_MAX_HEALTH).setBaseValue(80);
            monster.getAttribute(Attribute.GENERIC_ATTACK_DAMAGE).setBaseValue(25);
        } else if (monster instanceof ZombieVillager) {
            // 设置血量 攻击力
            monster.getAttribute(Attribute.GENERIC_MAX_HEALTH).setBaseValue(46);
            monster.getAttribute(Attribute.GENERIC_ATTACK_DAMAGE).setBaseValue(25);
        } else if (monster instanceof Husk) {
            // 耐久 3 保护4 火焰保护3 弹射物保护3 爆炸保护3
            diamond_helmet.addEnchantment(Enchantment.DURABILITY, 3);
            diamond_helmet.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 4);
            diamond_helmet.addEnchantment(Enchantment.PROTECTION_FIRE, 3);
            diamond_helmet.addEnchantment(Enchantment.PROTECTION_PROJECTILE, 3);
            diamond_helmet.addEnchantment(Enchantment.PROTECTION_EXPLOSIONS, 3);
            // 耐久 3 保护4 火焰保护3 弹射物保护3 爆炸保护3 荆棘3
            diamond_chestplate.addEnchantment(Enchantment.DURABILITY, 3);
            diamond_chestplate.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 4);
            diamond_chestplate.addEnchantment(Enchantment.PROTECTION_FIRE, 3);
            diamond_chestplate.addEnchantment(Enchantment.PROTECTION_PROJECTILE, 3);
            diamond_chestplate.addEnchantment(Enchantment.THORNS, 3);
            diamond_chestplate.addEnchantment(Enchantment.PROTECTION_EXPLOSIONS, 3);
            // 耐久 3 保护4 火焰保护3 弹射物保护3 爆炸保护3
            diamond_leggings.addEnchantment(Enchantment.DURABILITY, 3);
            diamond_leggings.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 4);
            diamond_leggings.addEnchantment(Enchantment.PROTECTION_FIRE, 3);
            diamond_leggings.addEnchantment(Enchantment.PROTECTION_PROJECTILE, 3);
            diamond_leggings.addEnchantment(Enchantment.PROTECTION_EXPLOSIONS, 3);
            // 耐久 3 保护4 火焰保护3 弹射物保护3 摔落保护3 爆炸保护3
            diamond_boots.addEnchantment(Enchantment.DURABILITY, 3);
            diamond_boots.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 4);
            diamond_boots.addEnchantment(Enchantment.PROTECTION_FIRE, 3);
            diamond_boots.addEnchantment(Enchantment.PROTECTION_FALL, 3);
            diamond_boots.addEnchantment(Enchantment.PROTECTION_PROJECTILE, 3);
            diamond_boots.addEnchantment(Enchantment.PROTECTION_EXPLOSIONS, 3);
            // 锋利4 亡灵杀手4 节肢杀手4 耐久3 火焰附加2 击退2
            diamond_sword.addEnchantment(Enchantment.DAMAGE_ALL, 4);
            diamond_sword.addEnchantment(Enchantment.DAMAGE_UNDEAD, 4);
            diamond_sword.addEnchantment(Enchantment.DAMAGE_ARTHROPODS, 4);
            diamond_sword.addEnchantment(Enchantment.DURABILITY, 3);
            diamond_sword.addEnchantment(Enchantment.FIRE_ASPECT, 2);
            diamond_sword.addEnchantment(Enchantment.KNOCKBACK, 2);
            ItemMeta itemMeta = diamond_sword.getItemMeta();
            itemMeta.setDisplayName(monster.getCustomName() + "持有武器");
            itemMeta.addAttributeModifier(Attribute.GENERIC_ATTACK_DAMAGE, new AttributeModifier("攻击增量", 12, AttributeModifier.Operation.ADD_NUMBER));
            itemMeta.addAttributeModifier(Attribute.GENERIC_LUCK, new AttributeModifier("幸运掉落", -100, AttributeModifier.Operation.ADD_NUMBER));
            diamond_sword.setItemMeta(itemMeta);
            // 设置装备
            equipment.setHelmet(diamond_helmet);
            equipment.setChestplate(diamond_chestplate);
            equipment.setLeggings(diamond_leggings);
            equipment.setBoots(diamond_boots);
            equipment.setItemInMainHand(diamond_sword);
            // 设置血量 攻击力
            monster.getAttribute(Attribute.GENERIC_MAX_HEALTH).setBaseValue(50);
            monster.getAttribute(Attribute.GENERIC_ATTACK_DAMAGE).setBaseValue(20);
        } else if (monster instanceof Stray) {
            // 耐久 3 保护4 火焰保护3 弹射物保护3 爆炸保护3
            diamond_helmet.addEnchantment(Enchantment.DURABILITY, 3);
            diamond_helmet.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 4);
            diamond_helmet.addEnchantment(Enchantment.PROTECTION_FIRE, 3);
            diamond_helmet.addEnchantment(Enchantment.PROTECTION_PROJECTILE, 3);
            diamond_helmet.addEnchantment(Enchantment.PROTECTION_EXPLOSIONS, 3);
            // 耐久 3 保护4 火焰保护3 弹射物保护3 爆炸保护3 荆棘3
            diamond_chestplate.addEnchantment(Enchantment.DURABILITY, 3);
            diamond_chestplate.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 4);
            diamond_chestplate.addEnchantment(Enchantment.PROTECTION_FIRE, 3);
            diamond_chestplate.addEnchantment(Enchantment.PROTECTION_PROJECTILE, 3);
            diamond_chestplate.addEnchantment(Enchantment.THORNS, 3);
            diamond_chestplate.addEnchantment(Enchantment.PROTECTION_EXPLOSIONS, 3);
            // 耐久 3 保护4 火焰保护3 弹射物保护3 爆炸保护3
            diamond_leggings.addEnchantment(Enchantment.DURABILITY, 3);
            diamond_leggings.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 4);
            diamond_leggings.addEnchantment(Enchantment.PROTECTION_FIRE, 3);
            diamond_leggings.addEnchantment(Enchantment.PROTECTION_PROJECTILE, 3);
            diamond_leggings.addEnchantment(Enchantment.PROTECTION_EXPLOSIONS, 3);
            // 耐久 3 保护4 火焰保护3 弹射物保护3 摔落保护3 爆炸保护3
            diamond_boots.addEnchantment(Enchantment.DURABILITY, 3);
            diamond_boots.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 4);
            diamond_boots.addEnchantment(Enchantment.PROTECTION_FIRE, 3);
            diamond_boots.addEnchantment(Enchantment.PROTECTION_FALL, 3);
            diamond_boots.addEnchantment(Enchantment.PROTECTION_PROJECTILE, 3);
            diamond_boots.addEnchantment(Enchantment.PROTECTION_EXPLOSIONS, 3);
            // 锋利4 亡灵杀手4 节肢杀手4 耐久3 火焰附加2 击退2
            diamond_sword.addEnchantment(Enchantment.DAMAGE_ALL, 4);
            diamond_sword.addEnchantment(Enchantment.DAMAGE_UNDEAD, 4);
            diamond_sword.addEnchantment(Enchantment.DAMAGE_ARTHROPODS, 4);
            diamond_sword.addEnchantment(Enchantment.DURABILITY, 3);
            diamond_sword.addEnchantment(Enchantment.FIRE_ASPECT, 2);
            diamond_sword.addEnchantment(Enchantment.KNOCKBACK, 2);
            ItemMeta itemMeta = diamond_sword.getItemMeta();
            itemMeta.setDisplayName(monster.getCustomName() + "持有武器");
            itemMeta.addAttributeModifier(Attribute.GENERIC_ATTACK_DAMAGE, new AttributeModifier("攻击增量", 12, AttributeModifier.Operation.ADD_NUMBER));
            itemMeta.addAttributeModifier(Attribute.GENERIC_LUCK, new AttributeModifier("幸运掉落", -100, AttributeModifier.Operation.ADD_NUMBER));
            diamond_sword.setItemMeta(itemMeta);
            // 设置装备
            equipment.setHelmet(diamond_helmet);
            equipment.setChestplate(diamond_chestplate);
            equipment.setLeggings(diamond_leggings);
            equipment.setBoots(diamond_boots);
            equipment.setItemInMainHand(diamond_sword);
            // 设置血量 攻击力
            monster.getAttribute(Attribute.GENERIC_MAX_HEALTH).setBaseValue(50);
            monster.getAttribute(Attribute.GENERIC_ATTACK_DAMAGE).setBaseValue(20);
        } else if (monster instanceof Zombie) {
            // 耐久 3 保护4 火焰保护3 弹射物保护3 爆炸保护3
            diamond_helmet.addEnchantment(Enchantment.DURABILITY, 3);
            diamond_helmet.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 4);
            diamond_helmet.addEnchantment(Enchantment.PROTECTION_FIRE, 3);
            diamond_helmet.addEnchantment(Enchantment.PROTECTION_PROJECTILE, 3);
            diamond_helmet.addEnchantment(Enchantment.PROTECTION_EXPLOSIONS, 3);
            // 耐久 3 保护4 火焰保护3 弹射物保护3 爆炸保护3 荆棘3
            diamond_chestplate.addEnchantment(Enchantment.DURABILITY, 3);
            diamond_chestplate.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 4);
            diamond_chestplate.addEnchantment(Enchantment.PROTECTION_FIRE, 3);
            diamond_chestplate.addEnchantment(Enchantment.PROTECTION_PROJECTILE, 3);
            diamond_chestplate.addEnchantment(Enchantment.THORNS, 3);
            diamond_chestplate.addEnchantment(Enchantment.PROTECTION_EXPLOSIONS, 3);
            // 耐久 3 保护4 火焰保护3 弹射物保护3 爆炸保护3
            diamond_leggings.addEnchantment(Enchantment.DURABILITY, 3);
            diamond_leggings.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 4);
            diamond_leggings.addEnchantment(Enchantment.PROTECTION_FIRE, 3);
            diamond_leggings.addEnchantment(Enchantment.PROTECTION_PROJECTILE, 3);
            diamond_leggings.addEnchantment(Enchantment.PROTECTION_EXPLOSIONS, 3);
            // 耐久 3 保护4 火焰保护3 弹射物保护3 摔落保护3 爆炸保护3
            diamond_boots.addEnchantment(Enchantment.DURABILITY, 3);
            diamond_boots.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 4);
            diamond_boots.addEnchantment(Enchantment.PROTECTION_FIRE, 3);
            diamond_boots.addEnchantment(Enchantment.PROTECTION_FALL, 3);
            diamond_boots.addEnchantment(Enchantment.PROTECTION_PROJECTILE, 3);
            diamond_boots.addEnchantment(Enchantment.PROTECTION_EXPLOSIONS, 3);
            // 锋利4 亡灵杀手4 节肢杀手4 耐久3 火焰附加2 击退2
            diamond_sword.addEnchantment(Enchantment.DAMAGE_ALL, 4);
            diamond_sword.addEnchantment(Enchantment.DAMAGE_UNDEAD, 4);
            diamond_sword.addEnchantment(Enchantment.DAMAGE_ARTHROPODS, 4);
            diamond_sword.addEnchantment(Enchantment.DURABILITY, 3);
            diamond_sword.addEnchantment(Enchantment.FIRE_ASPECT, 2);
            diamond_sword.addEnchantment(Enchantment.KNOCKBACK, 2);
            ItemMeta itemMeta = diamond_sword.getItemMeta();
            itemMeta.setDisplayName(monster.getCustomName() + "持有武器");
            itemMeta.addAttributeModifier(Attribute.GENERIC_ATTACK_DAMAGE, new AttributeModifier("攻击增量", 12, AttributeModifier.Operation.ADD_NUMBER));
            itemMeta.addAttributeModifier(Attribute.GENERIC_LUCK, new AttributeModifier("幸运掉落", -100, AttributeModifier.Operation.ADD_NUMBER));
            diamond_sword.setItemMeta(itemMeta);
            // 设置装备
            equipment.setHelmet(diamond_helmet);
            equipment.setChestplate(diamond_chestplate);
            equipment.setLeggings(diamond_leggings);
            equipment.setBoots(diamond_boots);
            equipment.setItemInMainHand(diamond_sword);
            // 设置血量 攻击力
            monster.getAttribute(Attribute.GENERIC_MAX_HEALTH).setBaseValue(50);
            monster.getAttribute(Attribute.GENERIC_ATTACK_DAMAGE).setBaseValue(20);
        } else if (monster instanceof WitherSkeleton) {
            // 耐久 3 保护4 火焰保护3 弹射物保护3 爆炸保护3
            diamond_helmet.addEnchantment(Enchantment.DURABILITY, 3);
            diamond_helmet.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 4);
            diamond_helmet.addEnchantment(Enchantment.PROTECTION_FIRE, 3);
            diamond_helmet.addEnchantment(Enchantment.PROTECTION_PROJECTILE, 3);
            diamond_helmet.addEnchantment(Enchantment.PROTECTION_EXPLOSIONS, 3);
            // 耐久 3 保护4 火焰保护3 弹射物保护3 爆炸保护3 荆棘3
            diamond_chestplate.addEnchantment(Enchantment.DURABILITY, 3);
            diamond_chestplate.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 4);
            diamond_chestplate.addEnchantment(Enchantment.PROTECTION_FIRE, 3);
            diamond_chestplate.addEnchantment(Enchantment.PROTECTION_PROJECTILE, 3);
            diamond_chestplate.addEnchantment(Enchantment.THORNS, 3);
            diamond_chestplate.addEnchantment(Enchantment.PROTECTION_EXPLOSIONS, 3);
            // 耐久 3 保护4 火焰保护3 弹射物保护3 爆炸保护3
            diamond_leggings.addEnchantment(Enchantment.DURABILITY, 3);
            diamond_leggings.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 4);
            diamond_leggings.addEnchantment(Enchantment.PROTECTION_FIRE, 3);
            diamond_leggings.addEnchantment(Enchantment.PROTECTION_PROJECTILE, 3);
            diamond_leggings.addEnchantment(Enchantment.PROTECTION_EXPLOSIONS, 3);
            // 耐久 3 保护4 火焰保护3 弹射物保护3 摔落保护3 爆炸保护3
            diamond_boots.addEnchantment(Enchantment.DURABILITY, 3);
            diamond_boots.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 4);
            diamond_boots.addEnchantment(Enchantment.PROTECTION_FIRE, 3);
            diamond_boots.addEnchantment(Enchantment.PROTECTION_FALL, 3);
            diamond_boots.addEnchantment(Enchantment.PROTECTION_PROJECTILE, 3);
            diamond_boots.addEnchantment(Enchantment.PROTECTION_EXPLOSIONS, 3);
            // 锋利4 亡灵杀手4 节肢杀手4 耐久3 火焰附加2 击退2
            diamond_sword.addEnchantment(Enchantment.DAMAGE_ALL, 4);
            diamond_sword.addEnchantment(Enchantment.DAMAGE_UNDEAD, 4);
            diamond_sword.addEnchantment(Enchantment.DAMAGE_ARTHROPODS, 4);
            diamond_sword.addEnchantment(Enchantment.DURABILITY, 3);
            diamond_sword.addEnchantment(Enchantment.FIRE_ASPECT, 2);
            diamond_sword.addEnchantment(Enchantment.KNOCKBACK, 2);
            ItemMeta itemMeta = diamond_sword.getItemMeta();
            itemMeta.setDisplayName(monster.getCustomName() + "持有武器");
            itemMeta.addAttributeModifier(Attribute.GENERIC_ATTACK_DAMAGE, new AttributeModifier("攻击增量", 30, AttributeModifier.Operation.ADD_NUMBER));
            itemMeta.addAttributeModifier(Attribute.GENERIC_LUCK, new AttributeModifier("幸运掉落", -100, AttributeModifier.Operation.ADD_NUMBER));
            diamond_sword.setItemMeta(itemMeta);
            // 设置装备
            equipment.setHelmet(diamond_helmet);
            equipment.setChestplate(diamond_chestplate);
            equipment.setLeggings(diamond_leggings);
            equipment.setBoots(diamond_boots);
            equipment.setItemInMainHand(diamond_sword);
            // 设置血量 攻击力
            monster.getAttribute(Attribute.GENERIC_MAX_HEALTH).setBaseValue(50);
            monster.getAttribute(Attribute.GENERIC_ATTACK_DAMAGE).setBaseValue(40);
        } else if (monster instanceof Skeleton) {
            // 耐久 3 保护4 火焰保护3 弹射物保护3 爆炸保护3
            diamond_helmet.addEnchantment(Enchantment.DURABILITY, 3);
            diamond_helmet.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 4);
            diamond_helmet.addEnchantment(Enchantment.PROTECTION_FIRE, 3);
            diamond_helmet.addEnchantment(Enchantment.PROTECTION_PROJECTILE, 3);
            diamond_helmet.addEnchantment(Enchantment.PROTECTION_EXPLOSIONS, 3);
            // 耐久 3 保护4 火焰保护3 弹射物保护3 爆炸保护3 荆棘3
            diamond_chestplate.addEnchantment(Enchantment.DURABILITY, 3);
            diamond_chestplate.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 4);
            diamond_chestplate.addEnchantment(Enchantment.PROTECTION_FIRE, 3);
            diamond_chestplate.addEnchantment(Enchantment.PROTECTION_PROJECTILE, 3);
            diamond_chestplate.addEnchantment(Enchantment.THORNS, 3);
            diamond_chestplate.addEnchantment(Enchantment.PROTECTION_EXPLOSIONS, 3);
            // 耐久 3 保护4 火焰保护3 弹射物保护3 爆炸保护3
            diamond_leggings.addEnchantment(Enchantment.DURABILITY, 3);
            diamond_leggings.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 4);
            diamond_leggings.addEnchantment(Enchantment.PROTECTION_FIRE, 3);
            diamond_leggings.addEnchantment(Enchantment.PROTECTION_PROJECTILE, 3);
            diamond_leggings.addEnchantment(Enchantment.PROTECTION_EXPLOSIONS, 3);
            // 耐久 3 保护4 火焰保护3 弹射物保护3 摔落保护3 爆炸保护3
            diamond_boots.addEnchantment(Enchantment.DURABILITY, 3);
            diamond_boots.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 4);
            diamond_boots.addEnchantment(Enchantment.PROTECTION_FIRE, 3);
            diamond_boots.addEnchantment(Enchantment.PROTECTION_FALL, 3);
            diamond_boots.addEnchantment(Enchantment.PROTECTION_PROJECTILE, 3);
            diamond_boots.addEnchantment(Enchantment.PROTECTION_EXPLOSIONS, 3);
            // 耐久3 力量4 冲击2 火矢1
            ItemStack bow = new ItemStack(Material.BOW);
            bow.addEnchantment(Enchantment.DURABILITY, 3);
            bow.addEnchantment(Enchantment.ARROW_DAMAGE, 4);
            bow.addEnchantment(Enchantment.ARROW_KNOCKBACK, 2);
            bow.addEnchantment(Enchantment.ARROW_FIRE, 1);
            ItemMeta itemMeta = bow.getItemMeta();
            itemMeta.setDisplayName(monster.getCustomName() + "持有武器");
            itemMeta.addAttributeModifier(Attribute.GENERIC_ATTACK_DAMAGE, new AttributeModifier("攻击增量", 4, AttributeModifier.Operation.ADD_NUMBER));
            itemMeta.addAttributeModifier(Attribute.GENERIC_LUCK, new AttributeModifier("幸运掉落", -100, AttributeModifier.Operation.ADD_NUMBER));
            diamond_sword.setItemMeta(itemMeta);
            // 设置装备
            equipment.setHelmet(diamond_helmet);
            equipment.setChestplate(diamond_chestplate);
            equipment.setLeggings(diamond_leggings);
            equipment.setBoots(diamond_boots);
            equipment.setItemInMainHand(bow);
            // 设置血量 攻击力
            monster.getAttribute(Attribute.GENERIC_MAX_HEALTH).setBaseValue(50);
            monster.getAttribute(Attribute.GENERIC_ATTACK_DAMAGE).setBaseValue(20);
        } else if (monster instanceof Spider) {
            // 设置血量 攻击力
            monster.getAttribute(Attribute.GENERIC_MAX_HEALTH).setBaseValue(50);
            monster.getAttribute(Attribute.GENERIC_ATTACK_DAMAGE).setBaseValue(20);
        } else if (monster instanceof Creeper) {
            // 设置血量 攻击力
            monster.getAttribute(Attribute.GENERIC_MAX_HEALTH).setBaseValue(50);
            monster.getAttribute(Attribute.GENERIC_ATTACK_DAMAGE).setBaseValue(120);
            ((Creeper)monster).setPowered(true);
        } else if (monster instanceof Enderman) {
            // 设置血量 攻击力
            monster.getAttribute(Attribute.GENERIC_MAX_HEALTH).setBaseValue(74);
            monster.getAttribute(Attribute.GENERIC_ATTACK_DAMAGE).setBaseValue(28);
        } else if (monster instanceof Piglin) {
            // 耐久 3 保护4 火焰保护3 弹射物保护3 爆炸保护3
            diamond_helmet.addEnchantment(Enchantment.DURABILITY, 3);
            diamond_helmet.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 4);
            diamond_helmet.addEnchantment(Enchantment.PROTECTION_FIRE, 3);
            diamond_helmet.addEnchantment(Enchantment.PROTECTION_PROJECTILE, 3);
            diamond_helmet.addEnchantment(Enchantment.PROTECTION_EXPLOSIONS, 3);
            // 耐久 3 保护4 火焰保护3 弹射物保护3 爆炸保护3 荆棘3
            diamond_chestplate.addEnchantment(Enchantment.DURABILITY, 3);
            diamond_chestplate.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 4);
            diamond_chestplate.addEnchantment(Enchantment.PROTECTION_FIRE, 3);
            diamond_chestplate.addEnchantment(Enchantment.PROTECTION_PROJECTILE, 3);
            diamond_chestplate.addEnchantment(Enchantment.THORNS, 3);
            diamond_chestplate.addEnchantment(Enchantment.PROTECTION_EXPLOSIONS, 3);
            // 耐久 3 保护4 火焰保护3 弹射物保护3 爆炸保护3
            diamond_leggings.addEnchantment(Enchantment.DURABILITY, 3);
            diamond_leggings.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 4);
            diamond_leggings.addEnchantment(Enchantment.PROTECTION_FIRE, 3);
            diamond_leggings.addEnchantment(Enchantment.PROTECTION_PROJECTILE, 3);
            diamond_leggings.addEnchantment(Enchantment.PROTECTION_EXPLOSIONS, 3);
            // 耐久 3 保护4 火焰保护3 弹射物保护3 摔落保护3 爆炸保护3
            diamond_boots.addEnchantment(Enchantment.DURABILITY, 3);
            diamond_boots.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 4);
            diamond_boots.addEnchantment(Enchantment.PROTECTION_FIRE, 3);
            diamond_boots.addEnchantment(Enchantment.PROTECTION_FALL, 3);
            diamond_boots.addEnchantment(Enchantment.PROTECTION_PROJECTILE, 3);
            diamond_boots.addEnchantment(Enchantment.PROTECTION_EXPLOSIONS, 3);
            // 锋利4 亡灵杀手4 节肢杀手4 耐久3 火焰附加2 击退2
            diamond_sword.addEnchantment(Enchantment.DAMAGE_ALL, 4);
            diamond_sword.addEnchantment(Enchantment.DAMAGE_UNDEAD, 4);
            diamond_sword.addEnchantment(Enchantment.DAMAGE_ARTHROPODS, 4);
            diamond_sword.addEnchantment(Enchantment.DURABILITY, 3);
            diamond_sword.addEnchantment(Enchantment.FIRE_ASPECT, 2);
            diamond_sword.addEnchantment(Enchantment.KNOCKBACK, 2);
            ItemMeta itemMeta = diamond_sword.getItemMeta();
            itemMeta.setDisplayName(monster.getCustomName() + "持有武器");
            itemMeta.addAttributeModifier(Attribute.GENERIC_ATTACK_DAMAGE, new AttributeModifier("攻击增量", 32, AttributeModifier.Operation.ADD_NUMBER));
            itemMeta.addAttributeModifier(Attribute.GENERIC_LUCK, new AttributeModifier("幸运掉落", -100, AttributeModifier.Operation.ADD_NUMBER));
            diamond_sword.setItemMeta(itemMeta);
            // 设置装备
            equipment.setHelmet(diamond_helmet);
            equipment.setChestplate(diamond_chestplate);
            equipment.setLeggings(diamond_leggings);
            equipment.setBoots(diamond_boots);
            equipment.setItemInMainHand(diamond_sword);
            // 设置血量 攻击力
            monster.getAttribute(Attribute.GENERIC_MAX_HEALTH).setBaseValue(50);
            monster.getAttribute(Attribute.GENERIC_ATTACK_DAMAGE).setBaseValue(26);
        } else if (monster instanceof Blaze) {
            monster.getAttribute(Attribute.GENERIC_MAX_HEALTH).setBaseValue(50);
            monster.getAttribute(Attribute.GENERIC_ATTACK_DAMAGE).setBaseValue(26);
        } else if (monster instanceof ElderGuardian) {
            monster.getAttribute(Attribute.GENERIC_MAX_HEALTH).setBaseValue(130);
            monster.getAttribute(Attribute.GENERIC_ATTACK_DAMAGE).setBaseValue(26);
        } else if (monster instanceof Guardian) {
            monster.getAttribute(Attribute.GENERIC_MAX_HEALTH).setBaseValue(70);
            monster.getAttribute(Attribute.GENERIC_ATTACK_DAMAGE).setBaseValue(26);
        } else if (monster instanceof Endermite) {
            monster.getAttribute(Attribute.GENERIC_MAX_HEALTH).setBaseValue(22);
            monster.getAttribute(Attribute.GENERIC_ATTACK_DAMAGE).setBaseValue(26);
        } else if (monster instanceof Evoker) {
            monster.getAttribute(Attribute.GENERIC_MAX_HEALTH).setBaseValue(60);
            monster.getAttribute(Attribute.GENERIC_ATTACK_DAMAGE).setBaseValue(26);
        } else if (monster instanceof Ghast) {
            monster.getAttribute(Attribute.GENERIC_MAX_HEALTH).setBaseValue(60);
            //monster.getAttribute(Attribute.GENERIC_ATTACK_DAMAGE).setBaseValue(38);
        } else if (monster instanceof MagmaCube) {
            monster.getAttribute(Attribute.GENERIC_MAX_HEALTH).setBaseValue(80);
            monster.getAttribute(Attribute.GENERIC_ATTACK_DAMAGE).setBaseValue(25);
        } else if (monster instanceof Slime) {
            monster.getAttribute(Attribute.GENERIC_MAX_HEALTH).setBaseValue(80);
            monster.getAttribute(Attribute.GENERIC_ATTACK_DAMAGE).setBaseValue(25);
        } else if (monster instanceof Vex) {
            monster.getAttribute(Attribute.GENERIC_MAX_HEALTH).setBaseValue(36);
            monster.getAttribute(Attribute.GENERIC_ATTACK_DAMAGE).setBaseValue(28);
        } else if (monster instanceof Vindicator) {
            monster.getAttribute(Attribute.GENERIC_MAX_HEALTH).setBaseValue(54);
            monster.getAttribute(Attribute.GENERIC_ATTACK_DAMAGE).setBaseValue(30);
        } else if (monster instanceof Witch) {
            monster.getAttribute(Attribute.GENERIC_MAX_HEALTH).setBaseValue(54);
            monster.getAttribute(Attribute.GENERIC_ATTACK_DAMAGE).setBaseValue(30);
        }
    }

    public void modifyOf8() {
        // 钻石头盔
        ItemStack diamond_helmet = new ItemStack(Material.DIAMOND_HELMET);
        // 钻石盔甲
        ItemStack diamond_chestplate = new ItemStack(Material.DIAMOND_CHESTPLATE);
        // 钻石护腿
        ItemStack diamond_leggings = new ItemStack(Material.DIAMOND_LEGGINGS);
        // 钻石靴子
        ItemStack diamond_boots = new ItemStack(Material.DIAMOND_BOOTS);
        // 钻石剑
        ItemStack diamond_sword = new ItemStack(Material.DIAMOND_SWORD);
        monster.setCustomName("§c[八阶] " + monsterName);
        monster.setCustomNameVisible(true);
        EntityEquipment equipment = monster.getEquipment();

        if (monster instanceof PigZombie) {
            // 耐久 3 保护4 火焰保护3 弹射物保护3 爆炸保护3
            diamond_helmet.addEnchantment(Enchantment.DURABILITY, 3);
            diamond_helmet.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 4);
            diamond_helmet.addEnchantment(Enchantment.PROTECTION_FIRE, 3);
            diamond_helmet.addEnchantment(Enchantment.PROTECTION_PROJECTILE, 3);
            diamond_helmet.addEnchantment(Enchantment.PROTECTION_EXPLOSIONS, 3);
            // 耐久 3 保护4 火焰保护3 弹射物保护3 爆炸保护3 荆棘3
            diamond_chestplate.addEnchantment(Enchantment.DURABILITY, 3);
            diamond_chestplate.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 4);
            diamond_chestplate.addEnchantment(Enchantment.PROTECTION_FIRE, 3);
            diamond_chestplate.addEnchantment(Enchantment.PROTECTION_PROJECTILE, 3);
            diamond_chestplate.addEnchantment(Enchantment.THORNS, 3);
            diamond_chestplate.addEnchantment(Enchantment.PROTECTION_EXPLOSIONS, 3);
            // 耐久 3 保护4 火焰保护3 弹射物保护3 爆炸保护3
            diamond_leggings.addEnchantment(Enchantment.DURABILITY, 3);
            diamond_leggings.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 4);
            diamond_leggings.addEnchantment(Enchantment.PROTECTION_FIRE, 3);
            diamond_leggings.addEnchantment(Enchantment.PROTECTION_PROJECTILE, 3);
            diamond_leggings.addEnchantment(Enchantment.PROTECTION_EXPLOSIONS, 3);
            // 耐久 3 保护4 火焰保护3 弹射物保护3 摔落保护3 爆炸保护3
            diamond_boots.addEnchantment(Enchantment.DURABILITY, 3);
            diamond_boots.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 4);
            diamond_boots.addEnchantment(Enchantment.PROTECTION_FIRE, 3);
            diamond_boots.addEnchantment(Enchantment.PROTECTION_FALL, 3);
            diamond_boots.addEnchantment(Enchantment.PROTECTION_PROJECTILE, 3);
            diamond_boots.addEnchantment(Enchantment.PROTECTION_EXPLOSIONS, 3);
            // 锋利4 亡灵杀手4 节肢杀手4 耐久3 火焰附加2 击退2 横扫之刃2
            diamond_sword.addEnchantment(Enchantment.DAMAGE_ALL, 4);
            diamond_sword.addEnchantment(Enchantment.DAMAGE_UNDEAD, 4);
            diamond_sword.addEnchantment(Enchantment.DAMAGE_ARTHROPODS, 4);
            diamond_sword.addEnchantment(Enchantment.DURABILITY, 3);
            diamond_sword.addEnchantment(Enchantment.FIRE_ASPECT, 2);
            diamond_sword.addEnchantment(Enchantment.KNOCKBACK, 2);
            diamond_sword.addEnchantment(Enchantment.SWEEPING_EDGE, 2);
            ItemMeta itemMeta = diamond_sword.getItemMeta();
            itemMeta.setDisplayName(monster.getCustomName() + "持有武器");
            itemMeta.addAttributeModifier(Attribute.GENERIC_ATTACK_DAMAGE, new AttributeModifier("攻击增量", 36, AttributeModifier.Operation.ADD_NUMBER));
            itemMeta.addAttributeModifier(Attribute.GENERIC_LUCK, new AttributeModifier("幸运掉落", -100, AttributeModifier.Operation.ADD_NUMBER));
            diamond_sword.setItemMeta(itemMeta);
            // 设置装备
            equipment.setHelmet(diamond_helmet);
            equipment.setChestplate(diamond_chestplate);
            equipment.setLeggings(diamond_leggings);
            equipment.setBoots(diamond_boots);
            equipment.setItemInMainHand(diamond_sword);
            // 设置血量 攻击力
            monster.getAttribute(Attribute.GENERIC_MAX_HEALTH).setBaseValue(60);
            monster.getAttribute(Attribute.GENERIC_ATTACK_DAMAGE).setBaseValue(24);
        } else if (monster instanceof Hoglin) {
            monster.getAttribute(Attribute.GENERIC_MAX_HEALTH).setBaseValue(84);
            monster.getAttribute(Attribute.GENERIC_ATTACK_DAMAGE).setBaseValue(30);
        } else if (monster instanceof Drowned) {
            // 耐久 3 保护4 火焰保护3 弹射物保护3 爆炸保护3
            diamond_helmet.addEnchantment(Enchantment.DURABILITY, 3);
            diamond_helmet.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 4);
            diamond_helmet.addEnchantment(Enchantment.PROTECTION_FIRE, 3);
            diamond_helmet.addEnchantment(Enchantment.PROTECTION_PROJECTILE, 3);
            diamond_helmet.addEnchantment(Enchantment.PROTECTION_EXPLOSIONS, 3);
            // 耐久 3 保护4 火焰保护3 弹射物保护3 爆炸保护3 荆棘3
            diamond_chestplate.addEnchantment(Enchantment.DURABILITY, 3);
            diamond_chestplate.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 4);
            diamond_chestplate.addEnchantment(Enchantment.PROTECTION_FIRE, 3);
            diamond_chestplate.addEnchantment(Enchantment.PROTECTION_PROJECTILE, 3);
            diamond_chestplate.addEnchantment(Enchantment.THORNS, 3);
            diamond_chestplate.addEnchantment(Enchantment.PROTECTION_EXPLOSIONS, 3);
            // 耐久 3 保护4 火焰保护3 弹射物保护3 爆炸保护3
            diamond_leggings.addEnchantment(Enchantment.DURABILITY, 3);
            diamond_leggings.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 4);
            diamond_leggings.addEnchantment(Enchantment.PROTECTION_FIRE, 3);
            diamond_leggings.addEnchantment(Enchantment.PROTECTION_PROJECTILE, 3);
            diamond_leggings.addEnchantment(Enchantment.PROTECTION_EXPLOSIONS, 3);
            // 耐久 3 保护4 火焰保护3 弹射物保护3 摔落保护3 爆炸保护3
            diamond_boots.addEnchantment(Enchantment.DURABILITY, 3);
            diamond_boots.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 4);
            diamond_boots.addEnchantment(Enchantment.PROTECTION_FIRE, 3);
            diamond_boots.addEnchantment(Enchantment.PROTECTION_FALL, 3);
            diamond_boots.addEnchantment(Enchantment.PROTECTION_PROJECTILE, 3);
            diamond_boots.addEnchantment(Enchantment.PROTECTION_EXPLOSIONS, 3);
            // 锋利4 亡灵杀手4 节肢杀手4 耐久3 火焰附加2 击退2 横扫之刃2
            diamond_sword.addEnchantment(Enchantment.DAMAGE_ALL, 4);
            diamond_sword.addEnchantment(Enchantment.DAMAGE_UNDEAD, 4);
            diamond_sword.addEnchantment(Enchantment.DAMAGE_ARTHROPODS, 4);
            diamond_sword.addEnchantment(Enchantment.DURABILITY, 3);
            diamond_sword.addEnchantment(Enchantment.FIRE_ASPECT, 2);
            diamond_sword.addEnchantment(Enchantment.KNOCKBACK, 2);
            diamond_sword.addEnchantment(Enchantment.SWEEPING_EDGE, 2);

            ItemMeta itemMeta = diamond_sword.getItemMeta();
            itemMeta.setDisplayName(monster.getCustomName() + "持有武器");
            itemMeta.addAttributeModifier(Attribute.GENERIC_ATTACK_DAMAGE, new AttributeModifier("攻击增量", 14, AttributeModifier.Operation.ADD_NUMBER));
            itemMeta.addAttributeModifier(Attribute.GENERIC_LUCK, new AttributeModifier("幸运掉落", -100, AttributeModifier.Operation.ADD_NUMBER));
            diamond_sword.setItemMeta(itemMeta);
            // 设置装备
            equipment.setHelmet(diamond_helmet);
            equipment.setChestplate(diamond_chestplate);
            equipment.setLeggings(diamond_leggings);
            equipment.setBoots(diamond_boots);
            equipment.setItemInMainHand(diamond_sword);
            // 设置血量 攻击力
            monster.getAttribute(Attribute.GENERIC_MAX_HEALTH).setBaseValue(60);
            monster.getAttribute(Attribute.GENERIC_ATTACK_DAMAGE).setBaseValue(22);
        } else if (monster instanceof Zoglin) {
            monster.getAttribute(Attribute.GENERIC_MAX_HEALTH).setBaseValue(84);
            monster.getAttribute(Attribute.GENERIC_ATTACK_DAMAGE).setBaseValue(30);
        } else if (monster instanceof ZombieVillager) {
            // 设置血量 攻击力
            monster.getAttribute(Attribute.GENERIC_MAX_HEALTH).setBaseValue(50);
            monster.getAttribute(Attribute.GENERIC_ATTACK_DAMAGE).setBaseValue(30);
        } else if (monster instanceof Husk) {
            // 耐久 3 保护4 火焰保护3 弹射物保护3 爆炸保护3
            diamond_helmet.addEnchantment(Enchantment.DURABILITY, 3);
            diamond_helmet.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 4);
            diamond_helmet.addEnchantment(Enchantment.PROTECTION_FIRE, 3);
            diamond_helmet.addEnchantment(Enchantment.PROTECTION_PROJECTILE, 3);
            diamond_helmet.addEnchantment(Enchantment.PROTECTION_EXPLOSIONS, 3);
            // 耐久 3 保护4 火焰保护3 弹射物保护3 爆炸保护3 荆棘3
            diamond_chestplate.addEnchantment(Enchantment.DURABILITY, 3);
            diamond_chestplate.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 4);
            diamond_chestplate.addEnchantment(Enchantment.PROTECTION_FIRE, 3);
            diamond_chestplate.addEnchantment(Enchantment.PROTECTION_PROJECTILE, 3);
            diamond_chestplate.addEnchantment(Enchantment.THORNS, 3);
            diamond_chestplate.addEnchantment(Enchantment.PROTECTION_EXPLOSIONS, 3);
            // 耐久 3 保护4 火焰保护3 弹射物保护3 爆炸保护3
            diamond_leggings.addEnchantment(Enchantment.DURABILITY, 3);
            diamond_leggings.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 4);
            diamond_leggings.addEnchantment(Enchantment.PROTECTION_FIRE, 3);
            diamond_leggings.addEnchantment(Enchantment.PROTECTION_PROJECTILE, 3);
            diamond_leggings.addEnchantment(Enchantment.PROTECTION_EXPLOSIONS, 3);
            // 耐久 3 保护4 火焰保护3 弹射物保护3 摔落保护3 爆炸保护3
            diamond_boots.addEnchantment(Enchantment.DURABILITY, 3);
            diamond_boots.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 4);
            diamond_boots.addEnchantment(Enchantment.PROTECTION_FIRE, 3);
            diamond_boots.addEnchantment(Enchantment.PROTECTION_FALL, 3);
            diamond_boots.addEnchantment(Enchantment.PROTECTION_PROJECTILE, 3);
            diamond_boots.addEnchantment(Enchantment.PROTECTION_EXPLOSIONS, 3);
            // 锋利4 亡灵杀手4 节肢杀手4 耐久3 火焰附加2 击退2 横扫之刃2
            diamond_sword.addEnchantment(Enchantment.DAMAGE_ALL, 4);
            diamond_sword.addEnchantment(Enchantment.DAMAGE_UNDEAD, 4);
            diamond_sword.addEnchantment(Enchantment.DAMAGE_ARTHROPODS, 4);
            diamond_sword.addEnchantment(Enchantment.DURABILITY, 3);
            diamond_sword.addEnchantment(Enchantment.FIRE_ASPECT, 2);
            diamond_sword.addEnchantment(Enchantment.KNOCKBACK, 2);
            diamond_sword.addEnchantment(Enchantment.SWEEPING_EDGE, 2);
            ItemMeta itemMeta = diamond_sword.getItemMeta();
            itemMeta.setDisplayName(monster.getCustomName() + "持有武器");
            itemMeta.addAttributeModifier(Attribute.GENERIC_ATTACK_DAMAGE, new AttributeModifier("攻击增量", 14, AttributeModifier.Operation.ADD_NUMBER));
            itemMeta.addAttributeModifier(Attribute.GENERIC_LUCK, new AttributeModifier("幸运掉落", -100, AttributeModifier.Operation.ADD_NUMBER));
            diamond_sword.setItemMeta(itemMeta);
            // 设置装备
            equipment.setHelmet(diamond_helmet);
            equipment.setChestplate(diamond_chestplate);
            equipment.setLeggings(diamond_leggings);
            equipment.setBoots(diamond_boots);
            equipment.setItemInMainHand(diamond_sword);
            // 设置血量 攻击力
            monster.getAttribute(Attribute.GENERIC_MAX_HEALTH).setBaseValue(60);
            monster.getAttribute(Attribute.GENERIC_ATTACK_DAMAGE).setBaseValue(22);
        } else if (monster instanceof Stray) {
            // 耐久 3 保护4 火焰保护3 弹射物保护3 爆炸保护3
            diamond_helmet.addEnchantment(Enchantment.DURABILITY, 3);
            diamond_helmet.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 4);
            diamond_helmet.addEnchantment(Enchantment.PROTECTION_FIRE, 3);
            diamond_helmet.addEnchantment(Enchantment.PROTECTION_PROJECTILE, 3);
            diamond_helmet.addEnchantment(Enchantment.PROTECTION_EXPLOSIONS, 3);
            // 耐久 3 保护4 火焰保护3 弹射物保护3 爆炸保护3 荆棘3
            diamond_chestplate.addEnchantment(Enchantment.DURABILITY, 3);
            diamond_chestplate.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 4);
            diamond_chestplate.addEnchantment(Enchantment.PROTECTION_FIRE, 3);
            diamond_chestplate.addEnchantment(Enchantment.PROTECTION_PROJECTILE, 3);
            diamond_chestplate.addEnchantment(Enchantment.THORNS, 3);
            diamond_chestplate.addEnchantment(Enchantment.PROTECTION_EXPLOSIONS, 3);
            // 耐久 3 保护4 火焰保护3 弹射物保护3 爆炸保护3
            diamond_leggings.addEnchantment(Enchantment.DURABILITY, 3);
            diamond_leggings.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 4);
            diamond_leggings.addEnchantment(Enchantment.PROTECTION_FIRE, 3);
            diamond_leggings.addEnchantment(Enchantment.PROTECTION_PROJECTILE, 3);
            diamond_leggings.addEnchantment(Enchantment.PROTECTION_EXPLOSIONS, 3);
            // 耐久 3 保护4 火焰保护3 弹射物保护3 摔落保护3 爆炸保护3
            diamond_boots.addEnchantment(Enchantment.DURABILITY, 3);
            diamond_boots.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 4);
            diamond_boots.addEnchantment(Enchantment.PROTECTION_FIRE, 3);
            diamond_boots.addEnchantment(Enchantment.PROTECTION_FALL, 3);
            diamond_boots.addEnchantment(Enchantment.PROTECTION_PROJECTILE, 3);
            diamond_boots.addEnchantment(Enchantment.PROTECTION_EXPLOSIONS, 3);
            // 锋利4 亡灵杀手4 节肢杀手4 耐久3 火焰附加2 击退2 横扫之刃2
            diamond_sword.addEnchantment(Enchantment.DAMAGE_ALL, 4);
            diamond_sword.addEnchantment(Enchantment.DAMAGE_UNDEAD, 4);
            diamond_sword.addEnchantment(Enchantment.DAMAGE_ARTHROPODS, 4);
            diamond_sword.addEnchantment(Enchantment.DURABILITY, 3);
            diamond_sword.addEnchantment(Enchantment.FIRE_ASPECT, 2);
            diamond_sword.addEnchantment(Enchantment.KNOCKBACK, 2);
            diamond_sword.addEnchantment(Enchantment.SWEEPING_EDGE, 2);
            ItemMeta itemMeta = diamond_sword.getItemMeta();
            itemMeta.setDisplayName(monster.getCustomName() + "持有武器");
            itemMeta.addAttributeModifier(Attribute.GENERIC_ATTACK_DAMAGE, new AttributeModifier("攻击增量", 14, AttributeModifier.Operation.ADD_NUMBER));
            itemMeta.addAttributeModifier(Attribute.GENERIC_LUCK, new AttributeModifier("幸运掉落", -100, AttributeModifier.Operation.ADD_NUMBER));
            diamond_sword.setItemMeta(itemMeta);
            // 设置装备
            equipment.setHelmet(diamond_helmet);
            equipment.setChestplate(diamond_chestplate);
            equipment.setLeggings(diamond_leggings);
            equipment.setBoots(diamond_boots);
            equipment.setItemInMainHand(diamond_sword);
            // 设置血量 攻击力
            monster.getAttribute(Attribute.GENERIC_MAX_HEALTH).setBaseValue(60);
            monster.getAttribute(Attribute.GENERIC_ATTACK_DAMAGE).setBaseValue(22);
        } else if (monster instanceof Zombie) {
            // 耐久 3 保护4 火焰保护3 弹射物保护3 爆炸保护3
            diamond_helmet.addEnchantment(Enchantment.DURABILITY, 3);
            diamond_helmet.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 4);
            diamond_helmet.addEnchantment(Enchantment.PROTECTION_FIRE, 3);
            diamond_helmet.addEnchantment(Enchantment.PROTECTION_PROJECTILE, 3);
            diamond_helmet.addEnchantment(Enchantment.PROTECTION_EXPLOSIONS, 3);
            // 耐久 3 保护4 火焰保护3 弹射物保护3 爆炸保护3 荆棘3
            diamond_chestplate.addEnchantment(Enchantment.DURABILITY, 3);
            diamond_chestplate.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 4);
            diamond_chestplate.addEnchantment(Enchantment.PROTECTION_FIRE, 3);
            diamond_chestplate.addEnchantment(Enchantment.PROTECTION_PROJECTILE, 3);
            diamond_chestplate.addEnchantment(Enchantment.THORNS, 3);
            diamond_chestplate.addEnchantment(Enchantment.PROTECTION_EXPLOSIONS, 3);
            // 耐久 3 保护4 火焰保护3 弹射物保护3 爆炸保护3
            diamond_leggings.addEnchantment(Enchantment.DURABILITY, 3);
            diamond_leggings.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 4);
            diamond_leggings.addEnchantment(Enchantment.PROTECTION_FIRE, 3);
            diamond_leggings.addEnchantment(Enchantment.PROTECTION_PROJECTILE, 3);
            diamond_leggings.addEnchantment(Enchantment.PROTECTION_EXPLOSIONS, 3);
            // 耐久 3 保护4 火焰保护3 弹射物保护3 摔落保护3 爆炸保护3
            diamond_boots.addEnchantment(Enchantment.DURABILITY, 3);
            diamond_boots.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 4);
            diamond_boots.addEnchantment(Enchantment.PROTECTION_FIRE, 3);
            diamond_boots.addEnchantment(Enchantment.PROTECTION_FALL, 3);
            diamond_boots.addEnchantment(Enchantment.PROTECTION_PROJECTILE, 3);
            diamond_boots.addEnchantment(Enchantment.PROTECTION_EXPLOSIONS, 3);
            // 锋利4 亡灵杀手4 节肢杀手4 耐久3 火焰附加2 击退2 横扫之刃2
            diamond_sword.addEnchantment(Enchantment.DAMAGE_ALL, 4);
            diamond_sword.addEnchantment(Enchantment.DAMAGE_UNDEAD, 4);
            diamond_sword.addEnchantment(Enchantment.DAMAGE_ARTHROPODS, 4);
            diamond_sword.addEnchantment(Enchantment.DURABILITY, 3);
            diamond_sword.addEnchantment(Enchantment.FIRE_ASPECT, 2);
            diamond_sword.addEnchantment(Enchantment.KNOCKBACK, 2);
            diamond_sword.addEnchantment(Enchantment.SWEEPING_EDGE, 2);
            ItemMeta itemMeta = diamond_sword.getItemMeta();
            itemMeta.setDisplayName(monster.getCustomName() + "持有武器");
            itemMeta.addAttributeModifier(Attribute.GENERIC_ATTACK_DAMAGE, new AttributeModifier("攻击增量", 14, AttributeModifier.Operation.ADD_NUMBER));
            itemMeta.addAttributeModifier(Attribute.GENERIC_LUCK, new AttributeModifier("幸运掉落", -100, AttributeModifier.Operation.ADD_NUMBER));
            diamond_sword.setItemMeta(itemMeta);
            // 设置装备
            equipment.setHelmet(diamond_helmet);
            equipment.setChestplate(diamond_chestplate);
            equipment.setLeggings(diamond_leggings);
            equipment.setBoots(diamond_boots);
            equipment.setItemInMainHand(diamond_sword);
            // 设置血量 攻击力
            monster.getAttribute(Attribute.GENERIC_MAX_HEALTH).setBaseValue(60);
            monster.getAttribute(Attribute.GENERIC_ATTACK_DAMAGE).setBaseValue(22);
        } else if (monster instanceof WitherSkeleton) {
            // 耐久 3 保护4 火焰保护3 弹射物保护3 爆炸保护3
            diamond_helmet.addEnchantment(Enchantment.DURABILITY, 3);
            diamond_helmet.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 4);
            diamond_helmet.addEnchantment(Enchantment.PROTECTION_FIRE, 3);
            diamond_helmet.addEnchantment(Enchantment.PROTECTION_PROJECTILE, 3);
            diamond_helmet.addEnchantment(Enchantment.PROTECTION_EXPLOSIONS, 3);
            // 耐久 3 保护4 火焰保护3 弹射物保护3 爆炸保护3 荆棘3
            diamond_chestplate.addEnchantment(Enchantment.DURABILITY, 3);
            diamond_chestplate.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 4);
            diamond_chestplate.addEnchantment(Enchantment.PROTECTION_FIRE, 3);
            diamond_chestplate.addEnchantment(Enchantment.PROTECTION_PROJECTILE, 3);
            diamond_chestplate.addEnchantment(Enchantment.THORNS, 3);
            diamond_chestplate.addEnchantment(Enchantment.PROTECTION_EXPLOSIONS, 3);
            // 耐久 3 保护4 火焰保护3 弹射物保护3 爆炸保护3
            diamond_leggings.addEnchantment(Enchantment.DURABILITY, 3);
            diamond_leggings.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 4);
            diamond_leggings.addEnchantment(Enchantment.PROTECTION_FIRE, 3);
            diamond_leggings.addEnchantment(Enchantment.PROTECTION_PROJECTILE, 3);
            diamond_leggings.addEnchantment(Enchantment.PROTECTION_EXPLOSIONS, 3);
            // 耐久 3 保护4 火焰保护3 弹射物保护3 摔落保护3 爆炸保护3
            diamond_boots.addEnchantment(Enchantment.DURABILITY, 3);
            diamond_boots.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 4);
            diamond_boots.addEnchantment(Enchantment.PROTECTION_FIRE, 3);
            diamond_boots.addEnchantment(Enchantment.PROTECTION_FALL, 3);
            diamond_boots.addEnchantment(Enchantment.PROTECTION_PROJECTILE, 3);
            diamond_boots.addEnchantment(Enchantment.PROTECTION_EXPLOSIONS, 3);
            // 锋利4 亡灵杀手4 节肢杀手4 耐久3 火焰附加2 击退2 横扫之刃2
            diamond_sword.addEnchantment(Enchantment.DAMAGE_ALL, 4);
            diamond_sword.addEnchantment(Enchantment.DAMAGE_UNDEAD, 4);
            diamond_sword.addEnchantment(Enchantment.DAMAGE_ARTHROPODS, 4);
            diamond_sword.addEnchantment(Enchantment.DURABILITY, 3);
            diamond_sword.addEnchantment(Enchantment.FIRE_ASPECT, 2);
            diamond_sword.addEnchantment(Enchantment.KNOCKBACK, 2);
            diamond_sword.addEnchantment(Enchantment.SWEEPING_EDGE, 2);
            ItemMeta itemMeta = diamond_sword.getItemMeta();
            itemMeta.setDisplayName(monster.getCustomName() + "持有武器");
            itemMeta.addAttributeModifier(Attribute.GENERIC_ATTACK_DAMAGE, new AttributeModifier("攻击增量", 35, AttributeModifier.Operation.ADD_NUMBER));
            itemMeta.addAttributeModifier(Attribute.GENERIC_LUCK, new AttributeModifier("幸运掉落", -100, AttributeModifier.Operation.ADD_NUMBER));
            diamond_sword.setItemMeta(itemMeta);
            // 设置装备
            equipment.setHelmet(diamond_helmet);
            equipment.setChestplate(diamond_chestplate);
            equipment.setLeggings(diamond_leggings);
            equipment.setBoots(diamond_boots);
            equipment.setItemInMainHand(diamond_sword);
            // 设置血量 攻击力
            monster.getAttribute(Attribute.GENERIC_MAX_HEALTH).setBaseValue(60);
            monster.getAttribute(Attribute.GENERIC_ATTACK_DAMAGE).setBaseValue(45);
        } else if (monster instanceof Skeleton) {
            // 耐久 3 保护4 火焰保护3 弹射物保护3 爆炸保护3
            diamond_helmet.addEnchantment(Enchantment.DURABILITY, 3);
            diamond_helmet.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 4);
            diamond_helmet.addEnchantment(Enchantment.PROTECTION_FIRE, 3);
            diamond_helmet.addEnchantment(Enchantment.PROTECTION_PROJECTILE, 3);
            diamond_helmet.addEnchantment(Enchantment.PROTECTION_EXPLOSIONS, 3);
            // 耐久 3 保护4 火焰保护3 弹射物保护3 爆炸保护3 荆棘3
            diamond_chestplate.addEnchantment(Enchantment.DURABILITY, 3);
            diamond_chestplate.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 4);
            diamond_chestplate.addEnchantment(Enchantment.PROTECTION_FIRE, 3);
            diamond_chestplate.addEnchantment(Enchantment.PROTECTION_PROJECTILE, 3);
            diamond_chestplate.addEnchantment(Enchantment.THORNS, 3);
            diamond_chestplate.addEnchantment(Enchantment.PROTECTION_EXPLOSIONS, 3);
            // 耐久 3 保护4 火焰保护3 弹射物保护3 爆炸保护3
            diamond_leggings.addEnchantment(Enchantment.DURABILITY, 3);
            diamond_leggings.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 4);
            diamond_leggings.addEnchantment(Enchantment.PROTECTION_FIRE, 3);
            diamond_leggings.addEnchantment(Enchantment.PROTECTION_PROJECTILE, 3);
            diamond_leggings.addEnchantment(Enchantment.PROTECTION_EXPLOSIONS, 3);
            // 耐久 3 保护4 火焰保护3 弹射物保护3 摔落保护3 爆炸保护3
            diamond_boots.addEnchantment(Enchantment.DURABILITY, 3);
            diamond_boots.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 4);
            diamond_boots.addEnchantment(Enchantment.PROTECTION_FIRE, 3);
            diamond_boots.addEnchantment(Enchantment.PROTECTION_FALL, 3);
            diamond_boots.addEnchantment(Enchantment.PROTECTION_PROJECTILE, 3);
            diamond_boots.addEnchantment(Enchantment.PROTECTION_EXPLOSIONS, 3);
            // 耐久3 力量4 冲击2 火矢1
            ItemStack bow = new ItemStack(Material.BOW);
            bow.addEnchantment(Enchantment.DURABILITY, 3);
            bow.addEnchantment(Enchantment.ARROW_DAMAGE, 4);
            bow.addEnchantment(Enchantment.ARROW_KNOCKBACK, 2);
            bow.addEnchantment(Enchantment.ARROW_FIRE, 1);
            ItemMeta itemMeta = bow.getItemMeta();
            itemMeta.setDisplayName(monster.getCustomName() + "持有武器");
            itemMeta.addAttributeModifier(Attribute.GENERIC_ATTACK_DAMAGE, new AttributeModifier("攻击增量", 5, AttributeModifier.Operation.ADD_NUMBER));
            itemMeta.addAttributeModifier(Attribute.GENERIC_LUCK, new AttributeModifier("幸运掉落", -100, AttributeModifier.Operation.ADD_NUMBER));
            diamond_sword.setItemMeta(itemMeta);
            // 设置装备
            equipment.setHelmet(diamond_helmet);
            equipment.setChestplate(diamond_chestplate);
            equipment.setLeggings(diamond_leggings);
            equipment.setBoots(diamond_boots);
            equipment.setItemInMainHand(bow);
            // 设置血量 攻击力
            monster.getAttribute(Attribute.GENERIC_MAX_HEALTH).setBaseValue(60);
            monster.getAttribute(Attribute.GENERIC_ATTACK_DAMAGE).setBaseValue(22);
        } else if (monster instanceof Spider) {
            // 设置血量 攻击力
            monster.getAttribute(Attribute.GENERIC_MAX_HEALTH).setBaseValue(60);
            monster.getAttribute(Attribute.GENERIC_ATTACK_DAMAGE).setBaseValue(22);
        } else if (monster instanceof Creeper) {
            // 设置血量 攻击力
            monster.getAttribute(Attribute.GENERIC_MAX_HEALTH).setBaseValue(60);
            monster.getAttribute(Attribute.GENERIC_ATTACK_DAMAGE).setBaseValue(130);
            ((Creeper)monster).setPowered(true);
        } else if (monster instanceof Enderman) {
            // 设置血量 攻击力
            monster.getAttribute(Attribute.GENERIC_MAX_HEALTH).setBaseValue(80);
            monster.getAttribute(Attribute.GENERIC_ATTACK_DAMAGE).setBaseValue(30);
        } else if (monster instanceof Piglin) {
            // 耐久 3 保护4 火焰保护3 弹射物保护3 爆炸保护3
            diamond_helmet.addEnchantment(Enchantment.DURABILITY, 3);
            diamond_helmet.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 4);
            diamond_helmet.addEnchantment(Enchantment.PROTECTION_FIRE, 3);
            diamond_helmet.addEnchantment(Enchantment.PROTECTION_PROJECTILE, 3);
            diamond_helmet.addEnchantment(Enchantment.PROTECTION_EXPLOSIONS, 3);
            // 耐久 3 保护4 火焰保护3 弹射物保护3 爆炸保护3 荆棘3
            diamond_chestplate.addEnchantment(Enchantment.DURABILITY, 3);
            diamond_chestplate.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 4);
            diamond_chestplate.addEnchantment(Enchantment.PROTECTION_FIRE, 3);
            diamond_chestplate.addEnchantment(Enchantment.PROTECTION_PROJECTILE, 3);
            diamond_chestplate.addEnchantment(Enchantment.THORNS, 3);
            diamond_chestplate.addEnchantment(Enchantment.PROTECTION_EXPLOSIONS, 3);
            // 耐久 3 保护4 火焰保护3 弹射物保护3 爆炸保护3
            diamond_leggings.addEnchantment(Enchantment.DURABILITY, 3);
            diamond_leggings.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 4);
            diamond_leggings.addEnchantment(Enchantment.PROTECTION_FIRE, 3);
            diamond_leggings.addEnchantment(Enchantment.PROTECTION_PROJECTILE, 3);
            diamond_leggings.addEnchantment(Enchantment.PROTECTION_EXPLOSIONS, 3);
            // 耐久 3 保护4 火焰保护3 弹射物保护3 摔落保护3 爆炸保护3
            diamond_boots.addEnchantment(Enchantment.DURABILITY, 3);
            diamond_boots.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 4);
            diamond_boots.addEnchantment(Enchantment.PROTECTION_FIRE, 3);
            diamond_boots.addEnchantment(Enchantment.PROTECTION_FALL, 3);
            diamond_boots.addEnchantment(Enchantment.PROTECTION_PROJECTILE, 3);
            diamond_boots.addEnchantment(Enchantment.PROTECTION_EXPLOSIONS, 3);
            // 锋利4 亡灵杀手4 节肢杀手4 耐久3 火焰附加2 击退2 横扫之刃2
            diamond_sword.addEnchantment(Enchantment.DAMAGE_ALL, 4);
            diamond_sword.addEnchantment(Enchantment.DAMAGE_UNDEAD, 4);
            diamond_sword.addEnchantment(Enchantment.DAMAGE_ARTHROPODS, 4);
            diamond_sword.addEnchantment(Enchantment.DURABILITY, 3);
            diamond_sword.addEnchantment(Enchantment.FIRE_ASPECT, 2);
            diamond_sword.addEnchantment(Enchantment.KNOCKBACK, 2);
            diamond_sword.addEnchantment(Enchantment.SWEEPING_EDGE, 2);
            ItemMeta itemMeta = diamond_sword.getItemMeta();
            itemMeta.setDisplayName(monster.getCustomName() + "持有武器");
            itemMeta.addAttributeModifier(Attribute.GENERIC_ATTACK_DAMAGE, new AttributeModifier("攻击增量", 36, AttributeModifier.Operation.ADD_NUMBER));
            itemMeta.addAttributeModifier(Attribute.GENERIC_LUCK, new AttributeModifier("幸运掉落", -100, AttributeModifier.Operation.ADD_NUMBER));
            diamond_sword.setItemMeta(itemMeta);
            // 设置装备
            equipment.setHelmet(diamond_helmet);
            equipment.setChestplate(diamond_chestplate);
            equipment.setLeggings(diamond_leggings);
            equipment.setBoots(diamond_boots);
            equipment.setItemInMainHand(diamond_sword);
            // 设置血量 攻击力
            monster.getAttribute(Attribute.GENERIC_MAX_HEALTH).setBaseValue(60);
            monster.getAttribute(Attribute.GENERIC_ATTACK_DAMAGE).setBaseValue(30);
        } else if (monster instanceof Blaze) {
            monster.getAttribute(Attribute.GENERIC_MAX_HEALTH).setBaseValue(60);
            monster.getAttribute(Attribute.GENERIC_ATTACK_DAMAGE).setBaseValue(30);
        } else if (monster instanceof ElderGuardian) {
            monster.getAttribute(Attribute.GENERIC_MAX_HEALTH).setBaseValue(140);
            monster.getAttribute(Attribute.GENERIC_ATTACK_DAMAGE).setBaseValue(30);
        } else if (monster instanceof Guardian) {
            monster.getAttribute(Attribute.GENERIC_MAX_HEALTH).setBaseValue(75);
            monster.getAttribute(Attribute.GENERIC_ATTACK_DAMAGE).setBaseValue(30);
        } else if (monster instanceof Endermite) {
            monster.getAttribute(Attribute.GENERIC_MAX_HEALTH).setBaseValue(24);
            monster.getAttribute(Attribute.GENERIC_ATTACK_DAMAGE).setBaseValue(30);
        } else if (monster instanceof Evoker) {
            monster.getAttribute(Attribute.GENERIC_MAX_HEALTH).setBaseValue(65);
            monster.getAttribute(Attribute.GENERIC_ATTACK_DAMAGE).setBaseValue(30);
        } else if (monster instanceof Ghast) {
            monster.getAttribute(Attribute.GENERIC_MAX_HEALTH).setBaseValue(65);
            //monster.getAttribute(Attribute.GENERIC_ATTACK_DAMAGE).setBaseValue(40);
        } else if (monster instanceof MagmaCube) {
            monster.getAttribute(Attribute.GENERIC_MAX_HEALTH).setBaseValue(84);
            monster.getAttribute(Attribute.GENERIC_ATTACK_DAMAGE).setBaseValue(30);
        } else if (monster instanceof Slime) {
            monster.getAttribute(Attribute.GENERIC_MAX_HEALTH).setBaseValue(84);
            monster.getAttribute(Attribute.GENERIC_ATTACK_DAMAGE).setBaseValue(30);
        } else if (monster instanceof Vex) {
            monster.getAttribute(Attribute.GENERIC_MAX_HEALTH).setBaseValue(40);
            monster.getAttribute(Attribute.GENERIC_ATTACK_DAMAGE).setBaseValue(30);
        } else if (monster instanceof Vindicator) {
            monster.getAttribute(Attribute.GENERIC_MAX_HEALTH).setBaseValue(58);
            monster.getAttribute(Attribute.GENERIC_ATTACK_DAMAGE).setBaseValue(34);
        } else if (monster instanceof Witch) {
            monster.getAttribute(Attribute.GENERIC_MAX_HEALTH).setBaseValue(58);
            monster.getAttribute(Attribute.GENERIC_ATTACK_DAMAGE).setBaseValue(34);
        }
    }

    public void modifyOf9() {
        // 下届合金头盔
        ItemStack nether_helmet = new ItemStack(Material.NETHERITE_HELMET);
        // 下届合金盔甲
        ItemStack nether_chestplate = new ItemStack(Material.NETHERITE_CHESTPLATE);
        // 下届合金护腿
        ItemStack nether_leggings = new ItemStack(Material.NETHERITE_LEGGINGS);
        // 下届合金靴子
        ItemStack nether_boots = new ItemStack(Material.NETHERITE_BOOTS);
        // 下届合金剑
        ItemStack nether_sword = new ItemStack(Material.NETHERITE_SWORD);
        monster.setCustomName("§c[九阶] " + monsterName);
        monster.setCustomNameVisible(true);
        EntityEquipment equipment = monster.getEquipment();

        if (monster instanceof PigZombie) {
            // 耐久 3 保护4 火焰保护3 弹射物保护3 爆炸保护3
            nether_helmet.addEnchantment(Enchantment.DURABILITY, 3);
            nether_helmet.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 4);
            nether_helmet.addEnchantment(Enchantment.PROTECTION_FIRE, 3);
            nether_helmet.addEnchantment(Enchantment.PROTECTION_PROJECTILE, 3);
            nether_helmet.addEnchantment(Enchantment.PROTECTION_EXPLOSIONS, 3);
            // 耐久 3 保护4 火焰保护3 弹射物保护3 爆炸保护3 荆棘3
            nether_chestplate.addEnchantment(Enchantment.DURABILITY, 3);
            nether_chestplate.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 4);
            nether_chestplate.addEnchantment(Enchantment.PROTECTION_FIRE, 3);
            nether_chestplate.addEnchantment(Enchantment.PROTECTION_PROJECTILE, 3);
            nether_chestplate.addEnchantment(Enchantment.THORNS, 3);
            nether_chestplate.addEnchantment(Enchantment.PROTECTION_EXPLOSIONS, 3);
            // 耐久 3 保护4 火焰保护3 弹射物保护3 爆炸保护3
            nether_leggings.addEnchantment(Enchantment.DURABILITY, 3);
            nether_leggings.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 4);
            nether_leggings.addEnchantment(Enchantment.PROTECTION_FIRE, 3);
            nether_leggings.addEnchantment(Enchantment.PROTECTION_PROJECTILE, 3);
            nether_leggings.addEnchantment(Enchantment.PROTECTION_EXPLOSIONS, 3);
            // 耐久 3 保护4 火焰保护3 弹射物保护3 摔落保护3 爆炸保护3
            nether_boots.addEnchantment(Enchantment.DURABILITY, 3);
            nether_boots.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 4);
            nether_boots.addEnchantment(Enchantment.PROTECTION_FIRE, 3);
            nether_boots.addEnchantment(Enchantment.PROTECTION_FALL, 3);
            nether_boots.addEnchantment(Enchantment.PROTECTION_PROJECTILE, 3);
            nether_boots.addEnchantment(Enchantment.PROTECTION_EXPLOSIONS, 3);
            // 锋利4 亡灵杀手4 节肢杀手4 耐久3 火焰附加2 击退2 横扫之刃2 抢夺3
            nether_sword.addEnchantment(Enchantment.DAMAGE_ALL, 4);
            nether_sword.addEnchantment(Enchantment.DAMAGE_UNDEAD, 4);
            nether_sword.addEnchantment(Enchantment.DAMAGE_ARTHROPODS, 4);
            nether_sword.addEnchantment(Enchantment.DURABILITY, 3);
            nether_sword.addEnchantment(Enchantment.FIRE_ASPECT, 2);
            nether_sword.addEnchantment(Enchantment.KNOCKBACK, 2);
            nether_sword.addEnchantment(Enchantment.SWEEPING_EDGE, 2);
            nether_sword.addEnchantment(Enchantment.LOOT_BONUS_MOBS, 3);
            ItemMeta itemMeta = nether_sword.getItemMeta();
            itemMeta.setDisplayName(monster.getCustomName() + "持有武器");
            itemMeta.addAttributeModifier(Attribute.GENERIC_ATTACK_DAMAGE, new AttributeModifier("攻击增量", 40, AttributeModifier.Operation.ADD_NUMBER));
            itemMeta.addAttributeModifier(Attribute.GENERIC_LUCK, new AttributeModifier("幸运掉落", -100, AttributeModifier.Operation.ADD_NUMBER));
            nether_sword.setItemMeta(itemMeta);
            // 设置装备
            equipment.setHelmet(nether_helmet);
            equipment.setChestplate(nether_chestplate);
            equipment.setLeggings(nether_leggings);
            equipment.setBoots(nether_boots);
            equipment.setItemInMainHand(nether_sword);
            // 设置血量 攻击力
            monster.getAttribute(Attribute.GENERIC_MAX_HEALTH).setBaseValue(70);
            monster.getAttribute(Attribute.GENERIC_ATTACK_DAMAGE).setBaseValue(26);
        } else if (monster instanceof Hoglin) {
            monster.getAttribute(Attribute.GENERIC_MAX_HEALTH).setBaseValue(90);
            monster.getAttribute(Attribute.GENERIC_ATTACK_DAMAGE).setBaseValue(35);
        } else if (monster instanceof Drowned) {
            // 耐久 3 保护4 火焰保护3 弹射物保护3 爆炸保护3
            nether_helmet.addEnchantment(Enchantment.DURABILITY, 3);
            nether_helmet.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 4);
            nether_helmet.addEnchantment(Enchantment.PROTECTION_FIRE, 3);
            nether_helmet.addEnchantment(Enchantment.PROTECTION_PROJECTILE, 3);
            nether_helmet.addEnchantment(Enchantment.PROTECTION_EXPLOSIONS, 3);
            // 耐久 3 保护4 火焰保护3 弹射物保护3 爆炸保护3 荆棘3
            nether_chestplate.addEnchantment(Enchantment.DURABILITY, 3);
            nether_chestplate.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 4);
            nether_chestplate.addEnchantment(Enchantment.PROTECTION_FIRE, 3);
            nether_chestplate.addEnchantment(Enchantment.PROTECTION_PROJECTILE, 3);
            nether_chestplate.addEnchantment(Enchantment.THORNS, 3);
            nether_chestplate.addEnchantment(Enchantment.PROTECTION_EXPLOSIONS, 3);
            // 耐久 3 保护4 火焰保护3 弹射物保护3 爆炸保护3
            nether_leggings.addEnchantment(Enchantment.DURABILITY, 3);
            nether_leggings.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 4);
            nether_leggings.addEnchantment(Enchantment.PROTECTION_FIRE, 3);
            nether_leggings.addEnchantment(Enchantment.PROTECTION_PROJECTILE, 3);
            nether_leggings.addEnchantment(Enchantment.PROTECTION_EXPLOSIONS, 3);
            // 耐久 3 保护4 火焰保护3 弹射物保护3 摔落保护3 爆炸保护3
            nether_boots.addEnchantment(Enchantment.DURABILITY, 3);
            nether_boots.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 4);
            nether_boots.addEnchantment(Enchantment.PROTECTION_FIRE, 3);
            nether_boots.addEnchantment(Enchantment.PROTECTION_FALL, 3);
            nether_boots.addEnchantment(Enchantment.PROTECTION_PROJECTILE, 3);
            nether_boots.addEnchantment(Enchantment.PROTECTION_EXPLOSIONS, 3);
            // 锋利4 亡灵杀手4 节肢杀手4 耐久3 火焰附加2 击退2 横扫之刃2 抢夺3
            nether_sword.addEnchantment(Enchantment.DAMAGE_ALL, 4);
            nether_sword.addEnchantment(Enchantment.DAMAGE_UNDEAD, 4);
            nether_sword.addEnchantment(Enchantment.DAMAGE_ARTHROPODS, 4);
            nether_sword.addEnchantment(Enchantment.DURABILITY, 3);
            nether_sword.addEnchantment(Enchantment.FIRE_ASPECT, 2);
            nether_sword.addEnchantment(Enchantment.KNOCKBACK, 2);
            nether_sword.addEnchantment(Enchantment.SWEEPING_EDGE, 2);
            nether_sword.addEnchantment(Enchantment.LOOT_BONUS_MOBS, 3);

            ItemMeta itemMeta = nether_sword.getItemMeta();
            itemMeta.setDisplayName(monster.getCustomName() + "持有武器");
            itemMeta.addAttributeModifier(Attribute.GENERIC_ATTACK_DAMAGE, new AttributeModifier("攻击增量", 16, AttributeModifier.Operation.ADD_NUMBER));
            itemMeta.addAttributeModifier(Attribute.GENERIC_LUCK, new AttributeModifier("幸运掉落", -100, AttributeModifier.Operation.ADD_NUMBER));
            nether_sword.setItemMeta(itemMeta);
            // 设置装备
            equipment.setHelmet(nether_helmet);
            equipment.setChestplate(nether_chestplate);
            equipment.setLeggings(nether_leggings);
            equipment.setBoots(nether_boots);
            equipment.setItemInMainHand(nether_sword);
            // 设置血量 攻击力
            monster.getAttribute(Attribute.GENERIC_MAX_HEALTH).setBaseValue(70);
            monster.getAttribute(Attribute.GENERIC_ATTACK_DAMAGE).setBaseValue(25);
        } else if (monster instanceof Zoglin) {
            monster.getAttribute(Attribute.GENERIC_MAX_HEALTH).setBaseValue(90);
            monster.getAttribute(Attribute.GENERIC_ATTACK_DAMAGE).setBaseValue(35);
        } else if (monster instanceof ZombieVillager) {
            // 设置血量 攻击力
            monster.getAttribute(Attribute.GENERIC_MAX_HEALTH).setBaseValue(60);
            monster.getAttribute(Attribute.GENERIC_ATTACK_DAMAGE).setBaseValue(35);
        } else if (monster instanceof Husk) {
            // 耐久 3 保护4 火焰保护3 弹射物保护3 爆炸保护3
            nether_helmet.addEnchantment(Enchantment.DURABILITY, 3);
            nether_helmet.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 4);
            nether_helmet.addEnchantment(Enchantment.PROTECTION_FIRE, 3);
            nether_helmet.addEnchantment(Enchantment.PROTECTION_PROJECTILE, 3);
            nether_helmet.addEnchantment(Enchantment.PROTECTION_EXPLOSIONS, 3);
            // 耐久 3 保护4 火焰保护3 弹射物保护3 爆炸保护3 荆棘3
            nether_chestplate.addEnchantment(Enchantment.DURABILITY, 3);
            nether_chestplate.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 4);
            nether_chestplate.addEnchantment(Enchantment.PROTECTION_FIRE, 3);
            nether_chestplate.addEnchantment(Enchantment.PROTECTION_PROJECTILE, 3);
            nether_chestplate.addEnchantment(Enchantment.THORNS, 3);
            nether_chestplate.addEnchantment(Enchantment.PROTECTION_EXPLOSIONS, 3);
            // 耐久 3 保护4 火焰保护3 弹射物保护3 爆炸保护3
            nether_leggings.addEnchantment(Enchantment.DURABILITY, 3);
            nether_leggings.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 4);
            nether_leggings.addEnchantment(Enchantment.PROTECTION_FIRE, 3);
            nether_leggings.addEnchantment(Enchantment.PROTECTION_PROJECTILE, 3);
            nether_leggings.addEnchantment(Enchantment.PROTECTION_EXPLOSIONS, 3);
            // 耐久 3 保护4 火焰保护3 弹射物保护3 摔落保护3 爆炸保护3
            nether_boots.addEnchantment(Enchantment.DURABILITY, 3);
            nether_boots.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 4);
            nether_boots.addEnchantment(Enchantment.PROTECTION_FIRE, 3);
            nether_boots.addEnchantment(Enchantment.PROTECTION_FALL, 3);
            nether_boots.addEnchantment(Enchantment.PROTECTION_PROJECTILE, 3);
            nether_boots.addEnchantment(Enchantment.PROTECTION_EXPLOSIONS, 3);
            // 锋利4 亡灵杀手4 节肢杀手4 耐久3 火焰附加2 击退2 横扫之刃2 抢夺3
            nether_sword.addEnchantment(Enchantment.DAMAGE_ALL, 4);
            nether_sword.addEnchantment(Enchantment.DAMAGE_UNDEAD, 4);
            nether_sword.addEnchantment(Enchantment.DAMAGE_ARTHROPODS, 4);
            nether_sword.addEnchantment(Enchantment.DURABILITY, 3);
            nether_sword.addEnchantment(Enchantment.FIRE_ASPECT, 2);
            nether_sword.addEnchantment(Enchantment.KNOCKBACK, 2);
            nether_sword.addEnchantment(Enchantment.SWEEPING_EDGE, 2);
            nether_sword.addEnchantment(Enchantment.LOOT_BONUS_MOBS, 3);

            ItemMeta itemMeta = nether_sword.getItemMeta();
            itemMeta.setDisplayName(monster.getCustomName() + "持有武器");
            itemMeta.addAttributeModifier(Attribute.GENERIC_ATTACK_DAMAGE, new AttributeModifier("攻击增量", 16, AttributeModifier.Operation.ADD_NUMBER));
            itemMeta.addAttributeModifier(Attribute.GENERIC_LUCK, new AttributeModifier("幸运掉落", -100, AttributeModifier.Operation.ADD_NUMBER));
            nether_sword.setItemMeta(itemMeta);
            // 设置装备
            equipment.setHelmet(nether_helmet);
            equipment.setChestplate(nether_chestplate);
            equipment.setLeggings(nether_leggings);
            equipment.setBoots(nether_boots);
            equipment.setItemInMainHand(nether_sword);
            // 设置血量 攻击力
            monster.getAttribute(Attribute.GENERIC_MAX_HEALTH).setBaseValue(70);
            monster.getAttribute(Attribute.GENERIC_ATTACK_DAMAGE).setBaseValue(25);
        } else if (monster instanceof Stray) {
            // 耐久 3 保护4 火焰保护3 弹射物保护3 爆炸保护3
            nether_helmet.addEnchantment(Enchantment.DURABILITY, 3);
            nether_helmet.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 4);
            nether_helmet.addEnchantment(Enchantment.PROTECTION_FIRE, 3);
            nether_helmet.addEnchantment(Enchantment.PROTECTION_PROJECTILE, 3);
            nether_helmet.addEnchantment(Enchantment.PROTECTION_EXPLOSIONS, 3);
            // 耐久 3 保护4 火焰保护3 弹射物保护3 爆炸保护3 荆棘3
            nether_chestplate.addEnchantment(Enchantment.DURABILITY, 3);
            nether_chestplate.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 4);
            nether_chestplate.addEnchantment(Enchantment.PROTECTION_FIRE, 3);
            nether_chestplate.addEnchantment(Enchantment.PROTECTION_PROJECTILE, 3);
            nether_chestplate.addEnchantment(Enchantment.THORNS, 3);
            nether_chestplate.addEnchantment(Enchantment.PROTECTION_EXPLOSIONS, 3);
            // 耐久 3 保护4 火焰保护3 弹射物保护3 爆炸保护3
            nether_leggings.addEnchantment(Enchantment.DURABILITY, 3);
            nether_leggings.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 4);
            nether_leggings.addEnchantment(Enchantment.PROTECTION_FIRE, 3);
            nether_leggings.addEnchantment(Enchantment.PROTECTION_PROJECTILE, 3);
            nether_leggings.addEnchantment(Enchantment.PROTECTION_EXPLOSIONS, 3);
            // 耐久 3 保护4 火焰保护3 弹射物保护3 摔落保护3 爆炸保护3
            nether_boots.addEnchantment(Enchantment.DURABILITY, 3);
            nether_boots.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 4);
            nether_boots.addEnchantment(Enchantment.PROTECTION_FIRE, 3);
            nether_boots.addEnchantment(Enchantment.PROTECTION_FALL, 3);
            nether_boots.addEnchantment(Enchantment.PROTECTION_PROJECTILE, 3);
            nether_boots.addEnchantment(Enchantment.PROTECTION_EXPLOSIONS, 3);
            // 锋利4 亡灵杀手4 节肢杀手4 耐久3 火焰附加2 击退2 横扫之刃2 抢夺3
            nether_sword.addEnchantment(Enchantment.DAMAGE_ALL, 4);
            nether_sword.addEnchantment(Enchantment.DAMAGE_UNDEAD, 4);
            nether_sword.addEnchantment(Enchantment.DAMAGE_ARTHROPODS, 4);
            nether_sword.addEnchantment(Enchantment.DURABILITY, 3);
            nether_sword.addEnchantment(Enchantment.FIRE_ASPECT, 2);
            nether_sword.addEnchantment(Enchantment.KNOCKBACK, 2);
            nether_sword.addEnchantment(Enchantment.SWEEPING_EDGE, 2);
            nether_sword.addEnchantment(Enchantment.LOOT_BONUS_MOBS, 3);

            ItemMeta itemMeta = nether_sword.getItemMeta();
            itemMeta.setDisplayName(monster.getCustomName() + "持有武器");
            itemMeta.addAttributeModifier(Attribute.GENERIC_ATTACK_DAMAGE, new AttributeModifier("攻击增量", 16, AttributeModifier.Operation.ADD_NUMBER));
            itemMeta.addAttributeModifier(Attribute.GENERIC_LUCK, new AttributeModifier("幸运掉落", -100, AttributeModifier.Operation.ADD_NUMBER));
            nether_sword.setItemMeta(itemMeta);
            // 设置装备
            equipment.setHelmet(nether_helmet);
            equipment.setChestplate(nether_chestplate);
            equipment.setLeggings(nether_leggings);
            equipment.setBoots(nether_boots);
            equipment.setItemInMainHand(nether_sword);
            // 设置血量 攻击力
            monster.getAttribute(Attribute.GENERIC_MAX_HEALTH).setBaseValue(70);
            monster.getAttribute(Attribute.GENERIC_ATTACK_DAMAGE).setBaseValue(25);
        } else if (monster instanceof Zombie) {
            // 耐久 3 保护4 火焰保护3 弹射物保护3 爆炸保护3
            nether_helmet.addEnchantment(Enchantment.DURABILITY, 3);
            nether_helmet.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 4);
            nether_helmet.addEnchantment(Enchantment.PROTECTION_FIRE, 3);
            nether_helmet.addEnchantment(Enchantment.PROTECTION_PROJECTILE, 3);
            nether_helmet.addEnchantment(Enchantment.PROTECTION_EXPLOSIONS, 3);
            // 耐久 3 保护4 火焰保护3 弹射物保护3 爆炸保护3 荆棘3
            nether_chestplate.addEnchantment(Enchantment.DURABILITY, 3);
            nether_chestplate.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 4);
            nether_chestplate.addEnchantment(Enchantment.PROTECTION_FIRE, 3);
            nether_chestplate.addEnchantment(Enchantment.PROTECTION_PROJECTILE, 3);
            nether_chestplate.addEnchantment(Enchantment.THORNS, 3);
            nether_chestplate.addEnchantment(Enchantment.PROTECTION_EXPLOSIONS, 3);
            // 耐久 3 保护4 火焰保护3 弹射物保护3 爆炸保护3
            nether_leggings.addEnchantment(Enchantment.DURABILITY, 3);
            nether_leggings.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 4);
            nether_leggings.addEnchantment(Enchantment.PROTECTION_FIRE, 3);
            nether_leggings.addEnchantment(Enchantment.PROTECTION_PROJECTILE, 3);
            nether_leggings.addEnchantment(Enchantment.PROTECTION_EXPLOSIONS, 3);
            // 耐久 3 保护4 火焰保护3 弹射物保护3 摔落保护3 爆炸保护3
            nether_boots.addEnchantment(Enchantment.DURABILITY, 3);
            nether_boots.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 4);
            nether_boots.addEnchantment(Enchantment.PROTECTION_FIRE, 3);
            nether_boots.addEnchantment(Enchantment.PROTECTION_FALL, 3);
            nether_boots.addEnchantment(Enchantment.PROTECTION_PROJECTILE, 3);
            nether_boots.addEnchantment(Enchantment.PROTECTION_EXPLOSIONS, 3);
            // 锋利4 亡灵杀手4 节肢杀手4 耐久3 火焰附加2 击退2 横扫之刃2 抢夺3
            nether_sword.addEnchantment(Enchantment.DAMAGE_ALL, 4);
            nether_sword.addEnchantment(Enchantment.DAMAGE_UNDEAD, 4);
            nether_sword.addEnchantment(Enchantment.DAMAGE_ARTHROPODS, 4);
            nether_sword.addEnchantment(Enchantment.DURABILITY, 3);
            nether_sword.addEnchantment(Enchantment.FIRE_ASPECT, 2);
            nether_sword.addEnchantment(Enchantment.KNOCKBACK, 2);
            nether_sword.addEnchantment(Enchantment.SWEEPING_EDGE, 2);
            nether_sword.addEnchantment(Enchantment.LOOT_BONUS_MOBS, 3);

            ItemMeta itemMeta = nether_sword.getItemMeta();
            itemMeta.setDisplayName(monster.getCustomName() + "持有武器");
            itemMeta.addAttributeModifier(Attribute.GENERIC_ATTACK_DAMAGE, new AttributeModifier("攻击增量", 16, AttributeModifier.Operation.ADD_NUMBER));
            itemMeta.addAttributeModifier(Attribute.GENERIC_LUCK, new AttributeModifier("幸运掉落", -100, AttributeModifier.Operation.ADD_NUMBER));
            nether_sword.setItemMeta(itemMeta);
            // 设置装备
            equipment.setHelmet(nether_helmet);
            equipment.setChestplate(nether_chestplate);
            equipment.setLeggings(nether_leggings);
            equipment.setBoots(nether_boots);
            equipment.setItemInMainHand(nether_sword);
            // 设置血量 攻击力
            monster.getAttribute(Attribute.GENERIC_MAX_HEALTH).setBaseValue(70);
            monster.getAttribute(Attribute.GENERIC_ATTACK_DAMAGE).setBaseValue(25);
        } else if (monster instanceof WitherSkeleton) {
            // 耐久 3 保护4 火焰保护3 弹射物保护3 爆炸保护3
            nether_helmet.addEnchantment(Enchantment.DURABILITY, 3);
            nether_helmet.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 4);
            nether_helmet.addEnchantment(Enchantment.PROTECTION_FIRE, 3);
            nether_helmet.addEnchantment(Enchantment.PROTECTION_PROJECTILE, 3);
            nether_helmet.addEnchantment(Enchantment.PROTECTION_EXPLOSIONS, 3);
            // 耐久 3 保护4 火焰保护3 弹射物保护3 爆炸保护3 荆棘3
            nether_chestplate.addEnchantment(Enchantment.DURABILITY, 3);
            nether_chestplate.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 4);
            nether_chestplate.addEnchantment(Enchantment.PROTECTION_FIRE, 3);
            nether_chestplate.addEnchantment(Enchantment.PROTECTION_PROJECTILE, 3);
            nether_chestplate.addEnchantment(Enchantment.THORNS, 3);
            nether_chestplate.addEnchantment(Enchantment.PROTECTION_EXPLOSIONS, 3);
            // 耐久 3 保护4 火焰保护3 弹射物保护3 爆炸保护3
            nether_leggings.addEnchantment(Enchantment.DURABILITY, 3);
            nether_leggings.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 4);
            nether_leggings.addEnchantment(Enchantment.PROTECTION_FIRE, 3);
            nether_leggings.addEnchantment(Enchantment.PROTECTION_PROJECTILE, 3);
            nether_leggings.addEnchantment(Enchantment.PROTECTION_EXPLOSIONS, 3);
            // 耐久 3 保护4 火焰保护3 弹射物保护3 摔落保护3 爆炸保护3
            nether_boots.addEnchantment(Enchantment.DURABILITY, 3);
            nether_boots.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 4);
            nether_boots.addEnchantment(Enchantment.PROTECTION_FIRE, 3);
            nether_boots.addEnchantment(Enchantment.PROTECTION_FALL, 3);
            nether_boots.addEnchantment(Enchantment.PROTECTION_PROJECTILE, 3);
            nether_boots.addEnchantment(Enchantment.PROTECTION_EXPLOSIONS, 3);
            // 锋利4 亡灵杀手4 节肢杀手4 耐久3 火焰附加2 击退2 横扫之刃2 抢夺3
            nether_sword.addEnchantment(Enchantment.DAMAGE_ALL, 4);
            nether_sword.addEnchantment(Enchantment.DAMAGE_UNDEAD, 4);
            nether_sword.addEnchantment(Enchantment.DAMAGE_ARTHROPODS, 4);
            nether_sword.addEnchantment(Enchantment.DURABILITY, 3);
            nether_sword.addEnchantment(Enchantment.FIRE_ASPECT, 2);
            nether_sword.addEnchantment(Enchantment.KNOCKBACK, 2);
            nether_sword.addEnchantment(Enchantment.SWEEPING_EDGE, 2);
            nether_sword.addEnchantment(Enchantment.LOOT_BONUS_MOBS, 3);
            ItemMeta itemMeta = nether_sword.getItemMeta();
            itemMeta.setDisplayName(monster.getCustomName() + "持有武器");
            itemMeta.addAttributeModifier(Attribute.GENERIC_ATTACK_DAMAGE, new AttributeModifier("攻击增量", 40, AttributeModifier.Operation.ADD_NUMBER));
            itemMeta.addAttributeModifier(Attribute.GENERIC_LUCK, new AttributeModifier("幸运掉落", -100, AttributeModifier.Operation.ADD_NUMBER));
            nether_sword.setItemMeta(itemMeta);
            // 设置装备
            equipment.setHelmet(nether_helmet);
            equipment.setChestplate(nether_chestplate);
            equipment.setLeggings(nether_leggings);
            equipment.setBoots(nether_boots);
            equipment.setItemInMainHand(nether_sword);
            // 设置血量 攻击力
            monster.getAttribute(Attribute.GENERIC_MAX_HEALTH).setBaseValue(70);
            monster.getAttribute(Attribute.GENERIC_ATTACK_DAMAGE).setBaseValue(50);
        } else if (monster instanceof Skeleton) {
            // 耐久 3 保护4 火焰保护3 弹射物保护3 爆炸保护3
            nether_helmet.addEnchantment(Enchantment.DURABILITY, 3);
            nether_helmet.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 4);
            nether_helmet.addEnchantment(Enchantment.PROTECTION_FIRE, 3);
            nether_helmet.addEnchantment(Enchantment.PROTECTION_PROJECTILE, 3);
            nether_helmet.addEnchantment(Enchantment.PROTECTION_EXPLOSIONS, 3);
            // 耐久 3 保护4 火焰保护3 弹射物保护3 爆炸保护3 荆棘3
            nether_chestplate.addEnchantment(Enchantment.DURABILITY, 3);
            nether_chestplate.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 4);
            nether_chestplate.addEnchantment(Enchantment.PROTECTION_FIRE, 3);
            nether_chestplate.addEnchantment(Enchantment.PROTECTION_PROJECTILE, 3);
            nether_chestplate.addEnchantment(Enchantment.THORNS, 3);
            nether_chestplate.addEnchantment(Enchantment.PROTECTION_EXPLOSIONS, 3);
            // 耐久 3 保护4 火焰保护3 弹射物保护3 爆炸保护3
            nether_leggings.addEnchantment(Enchantment.DURABILITY, 3);
            nether_leggings.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 4);
            nether_leggings.addEnchantment(Enchantment.PROTECTION_FIRE, 3);
            nether_leggings.addEnchantment(Enchantment.PROTECTION_PROJECTILE, 3);
            nether_leggings.addEnchantment(Enchantment.PROTECTION_EXPLOSIONS, 3);
            // 耐久 3 保护4 火焰保护3 弹射物保护3 摔落保护3 爆炸保护3
            nether_boots.addEnchantment(Enchantment.DURABILITY, 3);
            nether_boots.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 4);
            nether_boots.addEnchantment(Enchantment.PROTECTION_FIRE, 3);
            nether_boots.addEnchantment(Enchantment.PROTECTION_FALL, 3);
            nether_boots.addEnchantment(Enchantment.PROTECTION_PROJECTILE, 3);
            nether_boots.addEnchantment(Enchantment.PROTECTION_EXPLOSIONS, 3);
            // 耐久3 力量4 冲击2 火矢1 无限1
            ItemStack bow = new ItemStack(Material.BOW);
            bow.addEnchantment(Enchantment.DURABILITY, 3);
            bow.addEnchantment(Enchantment.ARROW_DAMAGE, 4);
            bow.addEnchantment(Enchantment.ARROW_KNOCKBACK, 2);
            bow.addEnchantment(Enchantment.ARROW_FIRE, 1);
            bow.addEnchantment(Enchantment.ARROW_INFINITE, 1);
            ItemMeta itemMeta = bow.getItemMeta();
            itemMeta.setDisplayName(monster.getCustomName() + "持有武器");
            itemMeta.addAttributeModifier(Attribute.GENERIC_ATTACK_DAMAGE, new AttributeModifier("攻击增量", 5, AttributeModifier.Operation.ADD_NUMBER));
            itemMeta.addAttributeModifier(Attribute.GENERIC_LUCK, new AttributeModifier("幸运掉落", -100, AttributeModifier.Operation.ADD_NUMBER));
            nether_sword.setItemMeta(itemMeta);
            // 设置装备
            equipment.setHelmet(nether_helmet);
            equipment.setChestplate(nether_chestplate);
            equipment.setLeggings(nether_leggings);
            equipment.setBoots(nether_boots);
            equipment.setItemInMainHand(bow);
            // 设置血量 攻击力
            monster.getAttribute(Attribute.GENERIC_MAX_HEALTH).setBaseValue(70);
            monster.getAttribute(Attribute.GENERIC_ATTACK_DAMAGE).setBaseValue(25);
        } else if (monster instanceof Spider) {
            // 设置血量 攻击力
            monster.getAttribute(Attribute.GENERIC_MAX_HEALTH).setBaseValue(70);
            monster.getAttribute(Attribute.GENERIC_ATTACK_DAMAGE).setBaseValue(25);
        } else if (monster instanceof Creeper) {
            // 设置血量 攻击力
            monster.getAttribute(Attribute.GENERIC_MAX_HEALTH).setBaseValue(70);
            monster.getAttribute(Attribute.GENERIC_ATTACK_DAMAGE).setBaseValue(140);
            ((Creeper)monster).setPowered(true);
        } else if (monster instanceof Enderman) {
            // 设置血量 攻击力
            monster.getAttribute(Attribute.GENERIC_MAX_HEALTH).setBaseValue(85);
            monster.getAttribute(Attribute.GENERIC_ATTACK_DAMAGE).setBaseValue(32);
        } else if (monster instanceof Piglin) {
            // 耐久 3 保护4 火焰保护3 弹射物保护3 爆炸保护3
            nether_helmet.addEnchantment(Enchantment.DURABILITY, 3);
            nether_helmet.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 4);
            nether_helmet.addEnchantment(Enchantment.PROTECTION_FIRE, 3);
            nether_helmet.addEnchantment(Enchantment.PROTECTION_PROJECTILE, 3);
            nether_helmet.addEnchantment(Enchantment.PROTECTION_EXPLOSIONS, 3);
            // 耐久 3 保护4 火焰保护3 弹射物保护3 爆炸保护3 荆棘3
            nether_chestplate.addEnchantment(Enchantment.DURABILITY, 3);
            nether_chestplate.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 4);
            nether_chestplate.addEnchantment(Enchantment.PROTECTION_FIRE, 3);
            nether_chestplate.addEnchantment(Enchantment.PROTECTION_PROJECTILE, 3);
            nether_chestplate.addEnchantment(Enchantment.THORNS, 3);
            nether_chestplate.addEnchantment(Enchantment.PROTECTION_EXPLOSIONS, 3);
            // 耐久 3 保护4 火焰保护3 弹射物保护3 爆炸保护3
            nether_leggings.addEnchantment(Enchantment.DURABILITY, 3);
            nether_leggings.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 4);
            nether_leggings.addEnchantment(Enchantment.PROTECTION_FIRE, 3);
            nether_leggings.addEnchantment(Enchantment.PROTECTION_PROJECTILE, 3);
            nether_leggings.addEnchantment(Enchantment.PROTECTION_EXPLOSIONS, 3);
            // 耐久 3 保护4 火焰保护3 弹射物保护3 摔落保护3 爆炸保护3
            nether_boots.addEnchantment(Enchantment.DURABILITY, 3);
            nether_boots.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 4);
            nether_boots.addEnchantment(Enchantment.PROTECTION_FIRE, 3);
            nether_boots.addEnchantment(Enchantment.PROTECTION_FALL, 3);
            nether_boots.addEnchantment(Enchantment.PROTECTION_PROJECTILE, 3);
            nether_boots.addEnchantment(Enchantment.PROTECTION_EXPLOSIONS, 3);
            // 锋利4 亡灵杀手4 节肢杀手4 耐久3 火焰附加2 击退2 横扫之刃2 抢夺3
            nether_sword.addEnchantment(Enchantment.DAMAGE_ALL, 4);
            nether_sword.addEnchantment(Enchantment.DAMAGE_UNDEAD, 4);
            nether_sword.addEnchantment(Enchantment.DAMAGE_ARTHROPODS, 4);
            nether_sword.addEnchantment(Enchantment.DURABILITY, 3);
            nether_sword.addEnchantment(Enchantment.FIRE_ASPECT, 2);
            nether_sword.addEnchantment(Enchantment.KNOCKBACK, 2);
            nether_sword.addEnchantment(Enchantment.SWEEPING_EDGE, 2);
            nether_sword.addEnchantment(Enchantment.LOOT_BONUS_MOBS, 3);

            ItemMeta itemMeta = nether_sword.getItemMeta();
            itemMeta.setDisplayName(monster.getCustomName() + "持有武器");
            itemMeta.addAttributeModifier(Attribute.GENERIC_ATTACK_DAMAGE, new AttributeModifier("攻击增量", 40, AttributeModifier.Operation.ADD_NUMBER));
            itemMeta.addAttributeModifier(Attribute.GENERIC_LUCK, new AttributeModifier("幸运掉落", -100, AttributeModifier.Operation.ADD_NUMBER));
            nether_sword.setItemMeta(itemMeta);
            // 设置装备
            equipment.setHelmet(nether_helmet);
            equipment.setChestplate(nether_chestplate);
            equipment.setLeggings(nether_leggings);
            equipment.setBoots(nether_boots);
            equipment.setItemInMainHand(nether_sword);
            // 设置血量 攻击力
            monster.getAttribute(Attribute.GENERIC_MAX_HEALTH).setBaseValue(70);
            monster.getAttribute(Attribute.GENERIC_ATTACK_DAMAGE).setBaseValue(32);
        } else if (monster instanceof Blaze) {
            monster.getAttribute(Attribute.GENERIC_MAX_HEALTH).setBaseValue(70);
            monster.getAttribute(Attribute.GENERIC_ATTACK_DAMAGE).setBaseValue(32);
        } else if (monster instanceof ElderGuardian) {
            monster.getAttribute(Attribute.GENERIC_MAX_HEALTH).setBaseValue(150);
            monster.getAttribute(Attribute.GENERIC_ATTACK_DAMAGE).setBaseValue(32);
        } else if (monster instanceof Guardian) {
            monster.getAttribute(Attribute.GENERIC_MAX_HEALTH).setBaseValue(90);
            monster.getAttribute(Attribute.GENERIC_ATTACK_DAMAGE).setBaseValue(32);
        } else if (monster instanceof Endermite) {
            monster.getAttribute(Attribute.GENERIC_MAX_HEALTH).setBaseValue(26);
            monster.getAttribute(Attribute.GENERIC_ATTACK_DAMAGE).setBaseValue(32);
        } else if (monster instanceof Evoker) {
            monster.getAttribute(Attribute.GENERIC_MAX_HEALTH).setBaseValue(70);
            monster.getAttribute(Attribute.GENERIC_ATTACK_DAMAGE).setBaseValue(32);
        } else if (monster instanceof Ghast) {
            monster.getAttribute(Attribute.GENERIC_MAX_HEALTH).setBaseValue(70);
            //monster.getAttribute(Attribute.GENERIC_ATTACK_DAMAGE).setBaseValue(50);
        } else if (monster instanceof MagmaCube) {
            monster.getAttribute(Attribute.GENERIC_MAX_HEALTH).setBaseValue(90);
            monster.getAttribute(Attribute.GENERIC_ATTACK_DAMAGE).setBaseValue(35);
        } else if (monster instanceof Slime) {
            monster.getAttribute(Attribute.GENERIC_MAX_HEALTH).setBaseValue(90);
            monster.getAttribute(Attribute.GENERIC_ATTACK_DAMAGE).setBaseValue(35);
        } else if (monster instanceof Vex) {
            monster.getAttribute(Attribute.GENERIC_MAX_HEALTH).setBaseValue(50);
            monster.getAttribute(Attribute.GENERIC_ATTACK_DAMAGE).setBaseValue(32);
        } else if (monster instanceof Vindicator) {
            monster.getAttribute(Attribute.GENERIC_MAX_HEALTH).setBaseValue(62);
            monster.getAttribute(Attribute.GENERIC_ATTACK_DAMAGE).setBaseValue(38);
        } else if (monster instanceof Witch) {
            monster.getAttribute(Attribute.GENERIC_MAX_HEALTH).setBaseValue(62);
            monster.getAttribute(Attribute.GENERIC_ATTACK_DAMAGE).setBaseValue(38);
        }
    }

    public void modifyOf10() {
        // 下届合金头盔
        ItemStack nether_helmet = new ItemStack(Material.NETHERITE_HELMET);
        // 下届合金盔甲
        ItemStack nether_chestplate = new ItemStack(Material.NETHERITE_CHESTPLATE);
        // 下届合金护腿
        ItemStack nether_leggings = new ItemStack(Material.NETHERITE_LEGGINGS);
        // 下届合金靴子
        ItemStack nether_boots = new ItemStack(Material.NETHERITE_BOOTS);
        // 下届合金剑
        ItemStack nether_sword = new ItemStack(Material.NETHERITE_SWORD);
        monster.setCustomName("§c[十阶] " + monsterName);
        monster.setCustomNameVisible(true);
        EntityEquipment equipment = monster.getEquipment();

        if (monster instanceof PigZombie) {
            // 耐久 3 保护4 火焰保护3 弹射物保护3 爆炸保护3
            nether_helmet.addEnchantment(Enchantment.DURABILITY, 3);
            nether_helmet.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 4);
            nether_helmet.addEnchantment(Enchantment.PROTECTION_FIRE, 3);
            nether_helmet.addEnchantment(Enchantment.PROTECTION_PROJECTILE, 3);
            nether_helmet.addEnchantment(Enchantment.PROTECTION_EXPLOSIONS, 3);
            // 耐久 3 保护4 火焰保护3 弹射物保护3 爆炸保护3 荆棘3
            nether_chestplate.addEnchantment(Enchantment.DURABILITY, 3);
            nether_chestplate.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 4);
            nether_chestplate.addEnchantment(Enchantment.PROTECTION_FIRE, 3);
            nether_chestplate.addEnchantment(Enchantment.PROTECTION_PROJECTILE, 3);
            nether_chestplate.addEnchantment(Enchantment.THORNS, 3);
            nether_chestplate.addEnchantment(Enchantment.PROTECTION_EXPLOSIONS, 3);
            // 耐久 3 保护4 火焰保护3 弹射物保护3 爆炸保护3
            nether_leggings.addEnchantment(Enchantment.DURABILITY, 3);
            nether_leggings.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 4);
            nether_leggings.addEnchantment(Enchantment.PROTECTION_FIRE, 3);
            nether_leggings.addEnchantment(Enchantment.PROTECTION_PROJECTILE, 3);
            nether_leggings.addEnchantment(Enchantment.PROTECTION_EXPLOSIONS, 3);
            // 耐久 3 保护4 火焰保护3 弹射物保护3 摔落保护3 爆炸保护3
            nether_boots.addEnchantment(Enchantment.DURABILITY, 3);
            nether_boots.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 4);
            nether_boots.addEnchantment(Enchantment.PROTECTION_FIRE, 3);
            nether_boots.addEnchantment(Enchantment.PROTECTION_FALL, 3);
            nether_boots.addEnchantment(Enchantment.PROTECTION_PROJECTILE, 3);
            nether_boots.addEnchantment(Enchantment.PROTECTION_EXPLOSIONS, 3);
            // 锋利4 亡灵杀手4 节肢杀手4 耐久3 火焰附加2 击退2 横扫之刃2 抢夺3
            nether_sword.addEnchantment(Enchantment.DAMAGE_ALL, 4);
            nether_sword.addEnchantment(Enchantment.DAMAGE_UNDEAD, 4);
            nether_sword.addEnchantment(Enchantment.DAMAGE_ARTHROPODS, 4);
            nether_sword.addEnchantment(Enchantment.DURABILITY, 3);
            nether_sword.addEnchantment(Enchantment.FIRE_ASPECT, 2);
            nether_sword.addEnchantment(Enchantment.KNOCKBACK, 2);
            nether_sword.addEnchantment(Enchantment.SWEEPING_EDGE, 2);
            nether_sword.addEnchantment(Enchantment.LOOT_BONUS_MOBS, 3);
            ItemMeta itemMeta = nether_sword.getItemMeta();
            itemMeta.setDisplayName(monster.getCustomName() + "持有武器");
            itemMeta.addAttributeModifier(Attribute.GENERIC_ATTACK_DAMAGE, new AttributeModifier("攻击增量", 45, AttributeModifier.Operation.ADD_NUMBER));
            itemMeta.addAttributeModifier(Attribute.GENERIC_LUCK, new AttributeModifier("幸运掉落", -100, AttributeModifier.Operation.ADD_NUMBER));
            nether_sword.setItemMeta(itemMeta);
            // 设置装备
            equipment.setHelmet(nether_helmet);
            equipment.setChestplate(nether_chestplate);
            equipment.setLeggings(nether_leggings);
            equipment.setBoots(nether_boots);
            equipment.setItemInMainHand(nether_sword);
            // 设置血量 攻击力
            monster.getAttribute(Attribute.GENERIC_MAX_HEALTH).setBaseValue(80);
            monster.getAttribute(Attribute.GENERIC_ATTACK_DAMAGE).setBaseValue(30);
        } else if (monster instanceof Hoglin) {
            monster.getAttribute(Attribute.GENERIC_MAX_HEALTH).setBaseValue(100);
            monster.getAttribute(Attribute.GENERIC_ATTACK_DAMAGE).setBaseValue(40);
        } else if (monster instanceof Drowned) {
            // 耐久 3 保护4 火焰保护3 弹射物保护3 爆炸保护3
            nether_helmet.addEnchantment(Enchantment.DURABILITY, 3);
            nether_helmet.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 4);
            nether_helmet.addEnchantment(Enchantment.PROTECTION_FIRE, 3);
            nether_helmet.addEnchantment(Enchantment.PROTECTION_PROJECTILE, 3);
            nether_helmet.addEnchantment(Enchantment.PROTECTION_EXPLOSIONS, 3);
            // 耐久 3 保护4 火焰保护3 弹射物保护3 爆炸保护3 荆棘3
            nether_chestplate.addEnchantment(Enchantment.DURABILITY, 3);
            nether_chestplate.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 4);
            nether_chestplate.addEnchantment(Enchantment.PROTECTION_FIRE, 3);
            nether_chestplate.addEnchantment(Enchantment.PROTECTION_PROJECTILE, 3);
            nether_chestplate.addEnchantment(Enchantment.THORNS, 3);
            nether_chestplate.addEnchantment(Enchantment.PROTECTION_EXPLOSIONS, 3);
            // 耐久 3 保护4 火焰保护3 弹射物保护3 爆炸保护3
            nether_leggings.addEnchantment(Enchantment.DURABILITY, 3);
            nether_leggings.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 4);
            nether_leggings.addEnchantment(Enchantment.PROTECTION_FIRE, 3);
            nether_leggings.addEnchantment(Enchantment.PROTECTION_PROJECTILE, 3);
            nether_leggings.addEnchantment(Enchantment.PROTECTION_EXPLOSIONS, 3);
            // 耐久 3 保护4 火焰保护3 弹射物保护3 摔落保护3 爆炸保护3
            nether_boots.addEnchantment(Enchantment.DURABILITY, 3);
            nether_boots.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 4);
            nether_boots.addEnchantment(Enchantment.PROTECTION_FIRE, 3);
            nether_boots.addEnchantment(Enchantment.PROTECTION_FALL, 3);
            nether_boots.addEnchantment(Enchantment.PROTECTION_PROJECTILE, 3);
            nether_boots.addEnchantment(Enchantment.PROTECTION_EXPLOSIONS, 3);
            // 锋利4 亡灵杀手4 节肢杀手4 耐久3 火焰附加2 击退2 横扫之刃2 抢夺3
            nether_sword.addEnchantment(Enchantment.DAMAGE_ALL, 4);
            nether_sword.addEnchantment(Enchantment.DAMAGE_UNDEAD, 4);
            nether_sword.addEnchantment(Enchantment.DAMAGE_ARTHROPODS, 4);
            nether_sword.addEnchantment(Enchantment.DURABILITY, 3);
            nether_sword.addEnchantment(Enchantment.FIRE_ASPECT, 2);
            nether_sword.addEnchantment(Enchantment.KNOCKBACK, 2);
            nether_sword.addEnchantment(Enchantment.SWEEPING_EDGE, 2);
            nether_sword.addEnchantment(Enchantment.LOOT_BONUS_MOBS, 3);

            ItemMeta itemMeta = nether_sword.getItemMeta();
            itemMeta.setDisplayName(monster.getCustomName() + "持有武器");
            itemMeta.addAttributeModifier(Attribute.GENERIC_ATTACK_DAMAGE, new AttributeModifier("攻击增量", 20, AttributeModifier.Operation.ADD_NUMBER));
            itemMeta.addAttributeModifier(Attribute.GENERIC_LUCK, new AttributeModifier("幸运掉落", -100, AttributeModifier.Operation.ADD_NUMBER));
            nether_sword.setItemMeta(itemMeta);
            // 设置装备
            equipment.setHelmet(nether_helmet);
            equipment.setChestplate(nether_chestplate);
            equipment.setLeggings(nether_leggings);
            equipment.setBoots(nether_boots);
            equipment.setItemInMainHand(nether_sword);
            // 设置血量 攻击力
            monster.getAttribute(Attribute.GENERIC_MAX_HEALTH).setBaseValue(80);
            monster.getAttribute(Attribute.GENERIC_ATTACK_DAMAGE).setBaseValue(30);
        } else if (monster instanceof Zoglin) {
            monster.getAttribute(Attribute.GENERIC_MAX_HEALTH).setBaseValue(100);
            monster.getAttribute(Attribute.GENERIC_ATTACK_DAMAGE).setBaseValue(40);
        } else if (monster instanceof ZombieVillager) {
            // 设置血量 攻击力
            monster.getAttribute(Attribute.GENERIC_MAX_HEALTH).setBaseValue(70);
            monster.getAttribute(Attribute.GENERIC_ATTACK_DAMAGE).setBaseValue(40);
        } else if (monster instanceof Husk) {
            // 耐久 3 保护4 火焰保护3 弹射物保护3 爆炸保护3
            nether_helmet.addEnchantment(Enchantment.DURABILITY, 3);
            nether_helmet.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 4);
            nether_helmet.addEnchantment(Enchantment.PROTECTION_FIRE, 3);
            nether_helmet.addEnchantment(Enchantment.PROTECTION_PROJECTILE, 3);
            nether_helmet.addEnchantment(Enchantment.PROTECTION_EXPLOSIONS, 3);
            // 耐久 3 保护4 火焰保护3 弹射物保护3 爆炸保护3 荆棘3
            nether_chestplate.addEnchantment(Enchantment.DURABILITY, 3);
            nether_chestplate.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 4);
            nether_chestplate.addEnchantment(Enchantment.PROTECTION_FIRE, 3);
            nether_chestplate.addEnchantment(Enchantment.PROTECTION_PROJECTILE, 3);
            nether_chestplate.addEnchantment(Enchantment.THORNS, 3);
            nether_chestplate.addEnchantment(Enchantment.PROTECTION_EXPLOSIONS, 3);
            // 耐久 3 保护4 火焰保护3 弹射物保护3 爆炸保护3
            nether_leggings.addEnchantment(Enchantment.DURABILITY, 3);
            nether_leggings.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 4);
            nether_leggings.addEnchantment(Enchantment.PROTECTION_FIRE, 3);
            nether_leggings.addEnchantment(Enchantment.PROTECTION_PROJECTILE, 3);
            nether_leggings.addEnchantment(Enchantment.PROTECTION_EXPLOSIONS, 3);
            // 耐久 3 保护4 火焰保护3 弹射物保护3 摔落保护3 爆炸保护3
            nether_boots.addEnchantment(Enchantment.DURABILITY, 3);
            nether_boots.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 4);
            nether_boots.addEnchantment(Enchantment.PROTECTION_FIRE, 3);
            nether_boots.addEnchantment(Enchantment.PROTECTION_FALL, 3);
            nether_boots.addEnchantment(Enchantment.PROTECTION_PROJECTILE, 3);
            nether_boots.addEnchantment(Enchantment.PROTECTION_EXPLOSIONS, 3);
            // 锋利4 亡灵杀手4 节肢杀手4 耐久3 火焰附加2 击退2 横扫之刃2 抢夺3
            nether_sword.addEnchantment(Enchantment.DAMAGE_ALL, 4);
            nether_sword.addEnchantment(Enchantment.DAMAGE_UNDEAD, 4);
            nether_sword.addEnchantment(Enchantment.DAMAGE_ARTHROPODS, 4);
            nether_sword.addEnchantment(Enchantment.DURABILITY, 3);
            nether_sword.addEnchantment(Enchantment.FIRE_ASPECT, 2);
            nether_sword.addEnchantment(Enchantment.KNOCKBACK, 2);
            nether_sword.addEnchantment(Enchantment.SWEEPING_EDGE, 2);
            nether_sword.addEnchantment(Enchantment.LOOT_BONUS_MOBS, 3);

            ItemMeta itemMeta = nether_sword.getItemMeta();
            itemMeta.setDisplayName(monster.getCustomName() + "持有武器");
            itemMeta.addAttributeModifier(Attribute.GENERIC_ATTACK_DAMAGE, new AttributeModifier("攻击增量", 20, AttributeModifier.Operation.ADD_NUMBER));
            itemMeta.addAttributeModifier(Attribute.GENERIC_LUCK, new AttributeModifier("幸运掉落", -100, AttributeModifier.Operation.ADD_NUMBER));
            nether_sword.setItemMeta(itemMeta);
            // 设置装备
            equipment.setHelmet(nether_helmet);
            equipment.setChestplate(nether_chestplate);
            equipment.setLeggings(nether_leggings);
            equipment.setBoots(nether_boots);
            equipment.setItemInMainHand(nether_sword);
            // 设置血量 攻击力
            monster.getAttribute(Attribute.GENERIC_MAX_HEALTH).setBaseValue(80);
            monster.getAttribute(Attribute.GENERIC_ATTACK_DAMAGE).setBaseValue(30);
        } else if (monster instanceof Stray) {
            // 耐久 3 保护4 火焰保护3 弹射物保护3 爆炸保护3
            nether_helmet.addEnchantment(Enchantment.DURABILITY, 3);
            nether_helmet.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 4);
            nether_helmet.addEnchantment(Enchantment.PROTECTION_FIRE, 3);
            nether_helmet.addEnchantment(Enchantment.PROTECTION_PROJECTILE, 3);
            nether_helmet.addEnchantment(Enchantment.PROTECTION_EXPLOSIONS, 3);
            // 耐久 3 保护4 火焰保护3 弹射物保护3 爆炸保护3 荆棘3
            nether_chestplate.addEnchantment(Enchantment.DURABILITY, 3);
            nether_chestplate.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 4);
            nether_chestplate.addEnchantment(Enchantment.PROTECTION_FIRE, 3);
            nether_chestplate.addEnchantment(Enchantment.PROTECTION_PROJECTILE, 3);
            nether_chestplate.addEnchantment(Enchantment.THORNS, 3);
            nether_chestplate.addEnchantment(Enchantment.PROTECTION_EXPLOSIONS, 3);
            // 耐久 3 保护4 火焰保护3 弹射物保护3 爆炸保护3
            nether_leggings.addEnchantment(Enchantment.DURABILITY, 3);
            nether_leggings.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 4);
            nether_leggings.addEnchantment(Enchantment.PROTECTION_FIRE, 3);
            nether_leggings.addEnchantment(Enchantment.PROTECTION_PROJECTILE, 3);
            nether_leggings.addEnchantment(Enchantment.PROTECTION_EXPLOSIONS, 3);
            // 耐久 3 保护4 火焰保护3 弹射物保护3 摔落保护3 爆炸保护3
            nether_boots.addEnchantment(Enchantment.DURABILITY, 3);
            nether_boots.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 4);
            nether_boots.addEnchantment(Enchantment.PROTECTION_FIRE, 3);
            nether_boots.addEnchantment(Enchantment.PROTECTION_FALL, 3);
            nether_boots.addEnchantment(Enchantment.PROTECTION_PROJECTILE, 3);
            nether_boots.addEnchantment(Enchantment.PROTECTION_EXPLOSIONS, 3);
            // 锋利4 亡灵杀手4 节肢杀手4 耐久3 火焰附加2 击退2 横扫之刃2 抢夺3
            nether_sword.addEnchantment(Enchantment.DAMAGE_ALL, 4);
            nether_sword.addEnchantment(Enchantment.DAMAGE_UNDEAD, 4);
            nether_sword.addEnchantment(Enchantment.DAMAGE_ARTHROPODS, 4);
            nether_sword.addEnchantment(Enchantment.DURABILITY, 3);
            nether_sword.addEnchantment(Enchantment.FIRE_ASPECT, 2);
            nether_sword.addEnchantment(Enchantment.KNOCKBACK, 2);
            nether_sword.addEnchantment(Enchantment.SWEEPING_EDGE, 2);
            nether_sword.addEnchantment(Enchantment.LOOT_BONUS_MOBS, 3);

            ItemMeta itemMeta = nether_sword.getItemMeta();
            itemMeta.setDisplayName(monster.getCustomName() + "持有武器");
            itemMeta.addAttributeModifier(Attribute.GENERIC_ATTACK_DAMAGE, new AttributeModifier("攻击增量", 20, AttributeModifier.Operation.ADD_NUMBER));
            itemMeta.addAttributeModifier(Attribute.GENERIC_LUCK, new AttributeModifier("幸运掉落", -100, AttributeModifier.Operation.ADD_NUMBER));
            nether_sword.setItemMeta(itemMeta);
            // 设置装备
            equipment.setHelmet(nether_helmet);
            equipment.setChestplate(nether_chestplate);
            equipment.setLeggings(nether_leggings);
            equipment.setBoots(nether_boots);
            equipment.setItemInMainHand(nether_sword);
            // 设置血量 攻击力
            monster.getAttribute(Attribute.GENERIC_MAX_HEALTH).setBaseValue(80);
            monster.getAttribute(Attribute.GENERIC_ATTACK_DAMAGE).setBaseValue(30);
        } else if (monster instanceof Zombie) {
            // 耐久 3 保护4 火焰保护3 弹射物保护3 爆炸保护3
            nether_helmet.addEnchantment(Enchantment.DURABILITY, 3);
            nether_helmet.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 4);
            nether_helmet.addEnchantment(Enchantment.PROTECTION_FIRE, 3);
            nether_helmet.addEnchantment(Enchantment.PROTECTION_PROJECTILE, 3);
            nether_helmet.addEnchantment(Enchantment.PROTECTION_EXPLOSIONS, 3);
            // 耐久 3 保护4 火焰保护3 弹射物保护3 爆炸保护3 荆棘3
            nether_chestplate.addEnchantment(Enchantment.DURABILITY, 3);
            nether_chestplate.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 4);
            nether_chestplate.addEnchantment(Enchantment.PROTECTION_FIRE, 3);
            nether_chestplate.addEnchantment(Enchantment.PROTECTION_PROJECTILE, 3);
            nether_chestplate.addEnchantment(Enchantment.THORNS, 3);
            nether_chestplate.addEnchantment(Enchantment.PROTECTION_EXPLOSIONS, 3);
            // 耐久 3 保护4 火焰保护3 弹射物保护3 爆炸保护3
            nether_leggings.addEnchantment(Enchantment.DURABILITY, 3);
            nether_leggings.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 4);
            nether_leggings.addEnchantment(Enchantment.PROTECTION_FIRE, 3);
            nether_leggings.addEnchantment(Enchantment.PROTECTION_PROJECTILE, 3);
            nether_leggings.addEnchantment(Enchantment.PROTECTION_EXPLOSIONS, 3);
            // 耐久 3 保护4 火焰保护3 弹射物保护3 摔落保护3 爆炸保护3
            nether_boots.addEnchantment(Enchantment.DURABILITY, 3);
            nether_boots.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 4);
            nether_boots.addEnchantment(Enchantment.PROTECTION_FIRE, 3);
            nether_boots.addEnchantment(Enchantment.PROTECTION_FALL, 3);
            nether_boots.addEnchantment(Enchantment.PROTECTION_PROJECTILE, 3);
            nether_boots.addEnchantment(Enchantment.PROTECTION_EXPLOSIONS, 3);
            // 锋利4 亡灵杀手4 节肢杀手4 耐久3 火焰附加2 击退2 横扫之刃2 抢夺3
            nether_sword.addEnchantment(Enchantment.DAMAGE_ALL, 4);
            nether_sword.addEnchantment(Enchantment.DAMAGE_UNDEAD, 4);
            nether_sword.addEnchantment(Enchantment.DAMAGE_ARTHROPODS, 4);
            nether_sword.addEnchantment(Enchantment.DURABILITY, 3);
            nether_sword.addEnchantment(Enchantment.FIRE_ASPECT, 2);
            nether_sword.addEnchantment(Enchantment.KNOCKBACK, 2);
            nether_sword.addEnchantment(Enchantment.SWEEPING_EDGE, 2);
            nether_sword.addEnchantment(Enchantment.LOOT_BONUS_MOBS, 3);

            ItemMeta itemMeta = nether_sword.getItemMeta();
            itemMeta.setDisplayName(monster.getCustomName() + "持有武器");
            itemMeta.addAttributeModifier(Attribute.GENERIC_ATTACK_DAMAGE, new AttributeModifier("攻击增量", 20, AttributeModifier.Operation.ADD_NUMBER));
            itemMeta.addAttributeModifier(Attribute.GENERIC_LUCK, new AttributeModifier("幸运掉落", -100, AttributeModifier.Operation.ADD_NUMBER));
            nether_sword.setItemMeta(itemMeta);
            // 设置装备
            equipment.setHelmet(nether_helmet);
            equipment.setChestplate(nether_chestplate);
            equipment.setLeggings(nether_leggings);
            equipment.setBoots(nether_boots);
            equipment.setItemInMainHand(nether_sword);
            // 设置血量 攻击力
            monster.getAttribute(Attribute.GENERIC_MAX_HEALTH).setBaseValue(80);
            monster.getAttribute(Attribute.GENERIC_ATTACK_DAMAGE).setBaseValue(30);
        } else if (monster instanceof WitherSkeleton) {
            // 耐久 3 保护4 火焰保护3 弹射物保护3 爆炸保护3
            nether_helmet.addEnchantment(Enchantment.DURABILITY, 3);
            nether_helmet.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 4);
            nether_helmet.addEnchantment(Enchantment.PROTECTION_FIRE, 3);
            nether_helmet.addEnchantment(Enchantment.PROTECTION_PROJECTILE, 3);
            nether_helmet.addEnchantment(Enchantment.PROTECTION_EXPLOSIONS, 3);
            // 耐久 3 保护4 火焰保护3 弹射物保护3 爆炸保护3 荆棘3
            nether_chestplate.addEnchantment(Enchantment.DURABILITY, 3);
            nether_chestplate.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 4);
            nether_chestplate.addEnchantment(Enchantment.PROTECTION_FIRE, 3);
            nether_chestplate.addEnchantment(Enchantment.PROTECTION_PROJECTILE, 3);
            nether_chestplate.addEnchantment(Enchantment.THORNS, 3);
            nether_chestplate.addEnchantment(Enchantment.PROTECTION_EXPLOSIONS, 3);
            // 耐久 3 保护4 火焰保护3 弹射物保护3 爆炸保护3
            nether_leggings.addEnchantment(Enchantment.DURABILITY, 3);
            nether_leggings.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 4);
            nether_leggings.addEnchantment(Enchantment.PROTECTION_FIRE, 3);
            nether_leggings.addEnchantment(Enchantment.PROTECTION_PROJECTILE, 3);
            nether_leggings.addEnchantment(Enchantment.PROTECTION_EXPLOSIONS, 3);
            // 耐久 3 保护4 火焰保护3 弹射物保护3 摔落保护3 爆炸保护3
            nether_boots.addEnchantment(Enchantment.DURABILITY, 3);
            nether_boots.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 4);
            nether_boots.addEnchantment(Enchantment.PROTECTION_FIRE, 3);
            nether_boots.addEnchantment(Enchantment.PROTECTION_FALL, 3);
            nether_boots.addEnchantment(Enchantment.PROTECTION_PROJECTILE, 3);
            nether_boots.addEnchantment(Enchantment.PROTECTION_EXPLOSIONS, 3);
            // 锋利4 亡灵杀手4 节肢杀手4 耐久3 火焰附加2 击退2 横扫之刃2 抢夺3
            nether_sword.addEnchantment(Enchantment.DAMAGE_ALL, 4);
            nether_sword.addEnchantment(Enchantment.DAMAGE_UNDEAD, 4);
            nether_sword.addEnchantment(Enchantment.DAMAGE_ARTHROPODS, 4);
            nether_sword.addEnchantment(Enchantment.DURABILITY, 3);
            nether_sword.addEnchantment(Enchantment.FIRE_ASPECT, 2);
            nether_sword.addEnchantment(Enchantment.KNOCKBACK, 2);
            nether_sword.addEnchantment(Enchantment.SWEEPING_EDGE, 2);
            nether_sword.addEnchantment(Enchantment.LOOT_BONUS_MOBS, 3);
            ItemMeta itemMeta = nether_sword.getItemMeta();
            itemMeta.setDisplayName(monster.getCustomName() + "持有武器");
            itemMeta.addAttributeModifier(Attribute.GENERIC_ATTACK_DAMAGE, new AttributeModifier("攻击增量", 50, AttributeModifier.Operation.ADD_NUMBER));
            itemMeta.addAttributeModifier(Attribute.GENERIC_LUCK, new AttributeModifier("幸运掉落", -100, AttributeModifier.Operation.ADD_NUMBER));
            nether_sword.setItemMeta(itemMeta);
            // 设置装备
            equipment.setHelmet(nether_helmet);
            equipment.setChestplate(nether_chestplate);
            equipment.setLeggings(nether_leggings);
            equipment.setBoots(nether_boots);
            equipment.setItemInMainHand(nether_sword);
            // 设置血量 攻击力
            monster.getAttribute(Attribute.GENERIC_MAX_HEALTH).setBaseValue(80);
            monster.getAttribute(Attribute.GENERIC_ATTACK_DAMAGE).setBaseValue(60);
        } else if (monster instanceof Skeleton) {
            // 耐久 3 保护4 火焰保护3 弹射物保护3 爆炸保护3
            nether_helmet.addEnchantment(Enchantment.DURABILITY, 3);
            nether_helmet.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 4);
            nether_helmet.addEnchantment(Enchantment.PROTECTION_FIRE, 3);
            nether_helmet.addEnchantment(Enchantment.PROTECTION_PROJECTILE, 3);
            nether_helmet.addEnchantment(Enchantment.PROTECTION_EXPLOSIONS, 3);
            // 耐久 3 保护4 火焰保护3 弹射物保护3 爆炸保护3 荆棘3
            nether_chestplate.addEnchantment(Enchantment.DURABILITY, 3);
            nether_chestplate.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 4);
            nether_chestplate.addEnchantment(Enchantment.PROTECTION_FIRE, 3);
            nether_chestplate.addEnchantment(Enchantment.PROTECTION_PROJECTILE, 3);
            nether_chestplate.addEnchantment(Enchantment.THORNS, 3);
            nether_chestplate.addEnchantment(Enchantment.PROTECTION_EXPLOSIONS, 3);
            // 耐久 3 保护4 火焰保护3 弹射物保护3 爆炸保护3
            nether_leggings.addEnchantment(Enchantment.DURABILITY, 3);
            nether_leggings.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 4);
            nether_leggings.addEnchantment(Enchantment.PROTECTION_FIRE, 3);
            nether_leggings.addEnchantment(Enchantment.PROTECTION_PROJECTILE, 3);
            nether_leggings.addEnchantment(Enchantment.PROTECTION_EXPLOSIONS, 3);
            // 耐久 3 保护4 火焰保护3 弹射物保护3 摔落保护3 爆炸保护3
            nether_boots.addEnchantment(Enchantment.DURABILITY, 3);
            nether_boots.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 4);
            nether_boots.addEnchantment(Enchantment.PROTECTION_FIRE, 3);
            nether_boots.addEnchantment(Enchantment.PROTECTION_FALL, 3);
            nether_boots.addEnchantment(Enchantment.PROTECTION_PROJECTILE, 3);
            nether_boots.addEnchantment(Enchantment.PROTECTION_EXPLOSIONS, 3);
            // 耐久3 力量4 冲击2 火矢1 无限1
            ItemStack bow = new ItemStack(Material.BOW);
            bow.addEnchantment(Enchantment.DURABILITY, 3);
            bow.addEnchantment(Enchantment.ARROW_DAMAGE, 4);
            bow.addEnchantment(Enchantment.ARROW_KNOCKBACK, 2);
            bow.addEnchantment(Enchantment.ARROW_FIRE, 1);
            bow.addEnchantment(Enchantment.ARROW_INFINITE, 1);
            ItemMeta itemMeta = bow.getItemMeta();
            itemMeta.setDisplayName(monster.getCustomName() + "持有武器");
            itemMeta.addAttributeModifier(Attribute.GENERIC_ATTACK_DAMAGE, new AttributeModifier("攻击增量", 6, AttributeModifier.Operation.ADD_NUMBER));
            itemMeta.addAttributeModifier(Attribute.GENERIC_LUCK, new AttributeModifier("幸运掉落", -100, AttributeModifier.Operation.ADD_NUMBER));
            nether_sword.setItemMeta(itemMeta);
            // 设置装备
            equipment.setHelmet(nether_helmet);
            equipment.setChestplate(nether_chestplate);
            equipment.setLeggings(nether_leggings);
            equipment.setBoots(nether_boots);
            equipment.setItemInMainHand(bow);
            // 设置血量 攻击力
            monster.getAttribute(Attribute.GENERIC_MAX_HEALTH).setBaseValue(80);
            monster.getAttribute(Attribute.GENERIC_ATTACK_DAMAGE).setBaseValue(30);
        } else if (monster instanceof Spider) {
            // 设置血量 攻击力
            monster.getAttribute(Attribute.GENERIC_MAX_HEALTH).setBaseValue(80);
            monster.getAttribute(Attribute.GENERIC_ATTACK_DAMAGE).setBaseValue(30);
        } else if (monster instanceof Creeper) {
            // 设置血量 攻击力
            monster.getAttribute(Attribute.GENERIC_MAX_HEALTH).setBaseValue(80);
            monster.getAttribute(Attribute.GENERIC_ATTACK_DAMAGE).setBaseValue(150);
            ((Creeper)monster).setPowered(true);
        } else if (monster instanceof Enderman) {
            // 设置血量 攻击力
            monster.getAttribute(Attribute.GENERIC_MAX_HEALTH).setBaseValue(90);
            monster.getAttribute(Attribute.GENERIC_ATTACK_DAMAGE).setBaseValue(35);
        } else if (monster instanceof Piglin) {
            // 耐久 3 保护4 火焰保护3 弹射物保护3 爆炸保护3
            nether_helmet.addEnchantment(Enchantment.DURABILITY, 3);
            nether_helmet.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 4);
            nether_helmet.addEnchantment(Enchantment.PROTECTION_FIRE, 3);
            nether_helmet.addEnchantment(Enchantment.PROTECTION_PROJECTILE, 3);
            nether_helmet.addEnchantment(Enchantment.PROTECTION_EXPLOSIONS, 3);
            // 耐久 3 保护4 火焰保护3 弹射物保护3 爆炸保护3 荆棘3
            nether_chestplate.addEnchantment(Enchantment.DURABILITY, 3);
            nether_chestplate.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 4);
            nether_chestplate.addEnchantment(Enchantment.PROTECTION_FIRE, 3);
            nether_chestplate.addEnchantment(Enchantment.PROTECTION_PROJECTILE, 3);
            nether_chestplate.addEnchantment(Enchantment.THORNS, 3);
            nether_chestplate.addEnchantment(Enchantment.PROTECTION_EXPLOSIONS, 3);
            // 耐久 3 保护4 火焰保护3 弹射物保护3 爆炸保护3
            nether_leggings.addEnchantment(Enchantment.DURABILITY, 3);
            nether_leggings.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 4);
            nether_leggings.addEnchantment(Enchantment.PROTECTION_FIRE, 3);
            nether_leggings.addEnchantment(Enchantment.PROTECTION_PROJECTILE, 3);
            nether_leggings.addEnchantment(Enchantment.PROTECTION_EXPLOSIONS, 3);
            // 耐久 3 保护4 火焰保护3 弹射物保护3 摔落保护3 爆炸保护3
            nether_boots.addEnchantment(Enchantment.DURABILITY, 3);
            nether_boots.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 4);
            nether_boots.addEnchantment(Enchantment.PROTECTION_FIRE, 3);
            nether_boots.addEnchantment(Enchantment.PROTECTION_FALL, 3);
            nether_boots.addEnchantment(Enchantment.PROTECTION_PROJECTILE, 3);
            nether_boots.addEnchantment(Enchantment.PROTECTION_EXPLOSIONS, 3);
            // 锋利4 亡灵杀手4 节肢杀手4 耐久3 火焰附加2 击退2 横扫之刃2 抢夺3
            nether_sword.addEnchantment(Enchantment.DAMAGE_ALL, 4);
            nether_sword.addEnchantment(Enchantment.DAMAGE_UNDEAD, 4);
            nether_sword.addEnchantment(Enchantment.DAMAGE_ARTHROPODS, 4);
            nether_sword.addEnchantment(Enchantment.DURABILITY, 3);
            nether_sword.addEnchantment(Enchantment.FIRE_ASPECT, 2);
            nether_sword.addEnchantment(Enchantment.KNOCKBACK, 2);
            nether_sword.addEnchantment(Enchantment.SWEEPING_EDGE, 2);
            nether_sword.addEnchantment(Enchantment.LOOT_BONUS_MOBS, 3);

            ItemMeta itemMeta = nether_sword.getItemMeta();
            itemMeta.setDisplayName(monster.getCustomName() + "持有武器");
            itemMeta.addAttributeModifier(Attribute.GENERIC_ATTACK_DAMAGE, new AttributeModifier("攻击增量", 45, AttributeModifier.Operation.ADD_NUMBER));
            itemMeta.addAttributeModifier(Attribute.GENERIC_LUCK, new AttributeModifier("幸运掉落", -100, AttributeModifier.Operation.ADD_NUMBER));
            nether_sword.setItemMeta(itemMeta);
            // 设置装备
            equipment.setHelmet(nether_helmet);
            equipment.setChestplate(nether_chestplate);
            equipment.setLeggings(nether_leggings);
            equipment.setBoots(nether_boots);
            equipment.setItemInMainHand(nether_sword);
            // 设置血量 攻击力
            monster.getAttribute(Attribute.GENERIC_MAX_HEALTH).setBaseValue(80);
            monster.getAttribute(Attribute.GENERIC_ATTACK_DAMAGE).setBaseValue(35);
        } else if (monster instanceof Blaze) {
            monster.getAttribute(Attribute.GENERIC_MAX_HEALTH).setBaseValue(80);
            monster.getAttribute(Attribute.GENERIC_ATTACK_DAMAGE).setBaseValue(35);
        } else if (monster instanceof ElderGuardian) {
            monster.getAttribute(Attribute.GENERIC_MAX_HEALTH).setBaseValue(160);
            monster.getAttribute(Attribute.GENERIC_ATTACK_DAMAGE).setBaseValue(35);
        } else if (monster instanceof Guardian) {
            monster.getAttribute(Attribute.GENERIC_MAX_HEALTH).setBaseValue(100);
            monster.getAttribute(Attribute.GENERIC_ATTACK_DAMAGE).setBaseValue(35);
        } else if (monster instanceof Endermite) {
            monster.getAttribute(Attribute.GENERIC_MAX_HEALTH).setBaseValue(30);
            monster.getAttribute(Attribute.GENERIC_ATTACK_DAMAGE).setBaseValue(35);
        } else if (monster instanceof Evoker) {
            monster.getAttribute(Attribute.GENERIC_MAX_HEALTH).setBaseValue(80);
            monster.getAttribute(Attribute.GENERIC_ATTACK_DAMAGE).setBaseValue(35);
        } else if (monster instanceof Ghast) {
            monster.getAttribute(Attribute.GENERIC_MAX_HEALTH).setBaseValue(80);
            //monster.getAttribute(Attribute.GENERIC_ATTACK_DAMAGE).setBaseValue(60);
        } else if (monster instanceof MagmaCube) {
            monster.getAttribute(Attribute.GENERIC_MAX_HEALTH).setBaseValue(100);
            monster.getAttribute(Attribute.GENERIC_ATTACK_DAMAGE).setBaseValue(40);
        } else if (monster instanceof Slime) {
            monster.getAttribute(Attribute.GENERIC_MAX_HEALTH).setBaseValue(100);
            monster.getAttribute(Attribute.GENERIC_ATTACK_DAMAGE).setBaseValue(40);
        } else if (monster instanceof Vex) {
            monster.getAttribute(Attribute.GENERIC_MAX_HEALTH).setBaseValue(60);
            monster.getAttribute(Attribute.GENERIC_ATTACK_DAMAGE).setBaseValue(35);
        } else if (monster instanceof Vindicator) {
            monster.getAttribute(Attribute.GENERIC_MAX_HEALTH).setBaseValue(70);
            monster.getAttribute(Attribute.GENERIC_ATTACK_DAMAGE).setBaseValue(45);
        } else if (monster instanceof Witch) {
            monster.getAttribute(Attribute.GENERIC_MAX_HEALTH).setBaseValue(70);
            monster.getAttribute(Attribute.GENERIC_ATTACK_DAMAGE).setBaseValue(45);
        }
    }

    public Mob getMonster() {
        return monster;
    }

    public void setMonster(Mob monster) {
        this.monster = monster;
        this.monsterName = TCUtil.getMonsterName(monster);
        if (monsterName.equals("NULL")) return;
    }
}
